Closed gh-BumsooKim closed 1 day ago
I face the same problem. Can u provide the requirements file? Please
I'm running into the same issue! It would be great if it would be solved !
Has anyone succeeded?
The same problem I faced, hope you can solve this problem.
The problem raise due to different version of diffuser, this solution fix the problem.
https://github.com/google/prompt-to-prompt/issues/57#issuecomment-1613729431
@junaidwahid thank you, bro. It works.
I solved it by installing diffusers==0.10.0. My env is Cuda 12.1 and driver Cuda530
Thank you guys! @junaidwahid @vodanhbk95. I finally made no-error version without version downgrading following your comments.
For stable-version about diffusers library about FADING, please refer this: https://github.com/gh-BumsooKim/FADING_stable
Since this issue was resolved, I'll close it soon. Thanks.
Thank you for sharing this code and providing pretrained weights in the open source world with interesting research paper "FADING".
With your shared code, I'm trying to inference my custom facial image (actually from public dataset, such as FFHQ, VFHQ and CelebA, and so on) for age editing based on your released weights (specialized model) via google shared link in README.md.
But, I faced KeyError in p2p.py L36 during
p2p_text2image
. FromFADING/p2p.py
code, they said there was KeyError about 'down_cross' inattention_store
. At that time,blend_word
was((18, 'woman'), (65, 'woman'))
andprompt
was['photo of 18 year old woman', 'photo of 65 year old woman']
asinversion_prompt, new_prompt
. Additonally,attention_store.items()
was empty (actuallydict_items([])
) when I printattention_store
dictionary.Is this below bash correct usage? And could you share your environment file or requirement for dependency?
Environment : OS : 20.04.6 LTS (Focal Fossa) 64bits Python : 3.9.0 Pytorch : 1.12.1=py3.9_cuda11.3_cudnn8.3.2_0
Error Details :
I faced some waring (which may not be important, but not sure) (about diffuser)