XingangPan / DragGAN

Official Code for DragGAN (SIGGRAPH 2023)
https://vcai.mpi-inf.mpg.de/projects/DragGAN/
Other
35.65k stars 3.44k forks source link

run in colab error #408

Closed safehumeng closed 9 months ago

safehumeng commented 10 months ago

image

rajnish159 commented 9 months ago

I solved this problem!

pip install draggan !pip3 install --pre torch torchvision torchaudio -f https://download.pytorch.org/whl/nightly/cu118/torch_nightly.html pip install Pillow==9.5.0 After installing the above three software packages, you can run DragGAN normally. this is properly working

safehumeng commented 9 months ago

I solved this problem!

pip install draggan !pip3 install --pre torch torchvision torchaudio -f https://download.pytorch.org/whl/nightly/cu118/torch_nightly.html pip install Pillow==9.5.0 After installing the above three software packages, you can run DragGAN normally. this is properly working

thanks! It's works

m-ali-awan commented 9 months ago

Thanks alot @rajnish159

Also, for using with custom Image, I am experiencing after doing PTI part, my inverted image is totally noise. Has anyon experienced this?

I followed this colab:

https://colab.research.google.com/drive/1aZW21clDPWLvwBnaQG5Xcpc_U-8zy3ow?usp=sharing

Thanks for any help