-
Notifications
You must be signed in to change notification settings - Fork 254
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
issue while installing #91
Comments
You may refer to williamyang1991/VToonify#50 (comment) and williamyang1991/VToonify#38 for solution. |
facing this error now - (vtoon_env) C:\Users\ruthv\Downloads\DualStyleGAN-main\DualStyleGAN-main>python style_transfer.py --scale_image |
You error is about
And my previous answer
So, please refer to my previous answer |
Thankyou, encountering this error now - (vtoon_env) C:\Users\ruthv\Downloads\DualStyleGAN-main\DualStyleGAN-main>python style_transfer.py --scale_image |
And this error after I remove "--scale_image" - (vtoon_env) C:\Users\ruthv\Downloads\DualStyleGAN-main\DualStyleGAN-main>python style_transfer.py Traceback (most recent call last): |
Thankyou, but there seems to be an issue- (vtoon_env) C:\Users\ruthv\Downloads\DualStyleGAN-main\DualStyleGAN-main>python style_transfer.py --content ./data/content/unsplash-rDEOVtE7vOs.jpg --align_face --preserve_color Traceback (most recent call last): |
Please read my answer carefully. Download the missing pretrained model and save it to './checkpoint/cartoon\generator.pt' https://github.com/williamyang1991/DualStyleGAN#pretrained-models |
I don't have a cartoon folder inside the checkpoint folder. I just have one readme file in my checkpoint folder |
I have downloaded the generator.pt but, where do I save it? can you please help me with this bit? I have nothing but readme.md file in my checkpoint folder |
create a new folder named |
Should I also download the rest of the files ("refined_exstyle_code.npy", "sampler.pt", "instyle_code.npy", "finetune000600.pt", "exstyle_code.npy") from the drive for cartoon pretrained model and save them in the "cartoon" folder inside the checkpoint? |
To avoid similar issues, you'd better download them all |
Now it says - "Torch not compiled with CUDA enabled" (vtoon_env) C:\Users\ruthv\Downloads\DualStyleGAN-main\DualStyleGAN-main>python style_transfer.py --content ./data/content/unsplash-rDEOVtE7vOs.jpg --align_face --preserve_color Traceback (most recent call last): |
If you are brand-new to pytorch and running deep learning models, I suggest you to use the huggingface demo rather than asking me. |
Thanks, but I would like to execute and try it out for myself and learn through...Can you help me? |
I have used - pip install torch==1.9.0+cu111 torchvision==0.10.0+cu111 torchaudio==0.9.0 -f https://download.pytorch.org/whl/torch_stable.html to install pytorch compiled with my CUDA version now, I'll update you when it is done |
I'm sorry I'm very busy and have no time to help you with these basic installation issues. I will close this issue and not answer your questions in this issue. |
(base) C:\Users\ruthv\Downloads\DualStyleGAN-main\DualStyleGAN-main>conda env create -f ./environment/dualstylegan_env.yaml
Collecting package metadata (repodata.json): done
Solving environment: failed
ResolvePackageNotFound:
The text was updated successfully, but these errors were encountered: