custom-diffusion icon indicating copy to clipboard operation
custom-diffusion copied to clipboard

The install requirement

Open qlinsey opened this issue 2 years ago • 5 comments

Hi,

Firstly, thanks for the work. Can please list the installation requirement.

I am having this issue right now and seems I cannot make it work after a few hours: AttributeError: 'CrossAttention' object has no attribute 'new_forward' .

Look forward to hear from you soon!

qlinsey avatar Mar 07 '23 21:03 qlinsey

Hi, Which of the two versions are you trying to use, CompVis based implementation or diffusers based implementation?

Thanks!

nupurkmr9 avatar Mar 16 '23 15:03 nupurkmr9

Hi, Thank you. i followed the instruction from https://github.com/adobe-research/custom-diffusion . so should be diffusers based, am i right? thanks

qlinsey avatar Mar 16 '23 17:03 qlinsey

Hi, For using custom diffusion with diffusers, the following installations should be good:

pip install accelerate
pip install modelcards
pip install transformers>=4.25.1
pip install deepspeed
pip install diffusers==0.11.0

We also mention the steps for training here. Please let me know if you still face any issues.

Thanks.

nupurkmr9 avatar Mar 25 '23 16:03 nupurkmr9

Thanks!

Get Outlook for iOShttps://aka.ms/o0ukef


From: nupurkmr9 @.> Sent: Saturday, March 25, 2023 9:59:16 AM To: adobe-research/custom-diffusion @.> Cc: XLP @.>; Author @.> Subject: Re: [adobe-research/custom-diffusion] The install requirement (Issue #47)

Hi, For using custom diffusion with diffusers, the following installations should be good:

pip install accelerate pip install modelcards pip install transformers>=4.25.1 pip install deepspeed pip install diffusers==0.11.0

We also mention the steps for training herehttps://github.com/adobe-research/custom-diffusion#training-using-diffusers-library. Please let me know if you still face any issues.

Thanks.

— Reply to this email directly, view it on GitHubhttps://github.com/adobe-research/custom-diffusion/issues/47#issuecomment-1483870114, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABI2ZICASP7RV7AN43JKZOTW54P6JANCNFSM6AAAAAAVS7S25E. You are receiving this because you authored the thread.Message ID: @.***>

qlinsey avatar Mar 26 '23 16:03 qlinsey

Hi, For using custom diffusion with diffusers, the following installations should be good:

pip install accelerate
pip install modelcards
pip install transformers>=4.25.1
pip install deepspeed
pip install diffusers==0.11.0

We also mention the steps for training here. Please let me know if you still face any issues.

Thanks.

Hi, I have installed those pips and the requirements from diffusers. But terminal report ModuleNotFoundError: No module named 'google.protobuf' and ModuleNotFoundError: No module named 'tensorboardX', when go to the steps of accelerate config. So, I'm wondering is there any patch compatible requirement problems?

dp-0809 avatar Jul 28 '23 09:07 dp-0809