hxngiee / DiffFace

DiffFace: Diffusion-based Face Swapping with Facial Guidance
Other
278 stars 17 forks source link

AttributeError: 'SGD' object has no attribute 'defaults' #13

Open abozahran opened 1 year ago

abozahran commented 1 year ago

I got this error By the way I have rtx 3090 will this work with me image

YunhoKim21 commented 1 year ago

@abozahran Its probably related to your pytorch version. We are using version 1.10.0.

lzq0529 commented 11 months ago

I have the same problem as you pytorch version is 1.10.0, have you solved it?

HowCCB commented 10 months ago

@abozahran Its probably related to your pytorch version. We are using version 1.10.0.

change your set like this could help !pip3 install torch==1.9.1+cu111 torchvision==0.10.1+cu111 torchaudio==0.9.1 torchtext==0.10.1 -f https://download.pytorch.org/whl/torch_stable.html

HowCCB commented 10 months ago

I have the same problem as you pytorch version is 1.10.0, have you solved it?

change your set like this could help !pip3 install torch==1.9.1+cu111 torchvision==0.10.1+cu111 torchaudio==0.9.1 torchtext==0.10.1 -f https://download.pytorch.org/whl/torch_stable.html