-
Notifications
You must be signed in to change notification settings - Fork 1
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
AssertionError? #1
Comments
GPU is required to run the code as the VGG nets is used to extract image features, you can comment this line of code but it will run rather slow on CPU. |
I have nvidia geforce rtx 2060 super (8gb vram). Is this enough? I don't know how to check my "pytorch GPU environment". Could yo give me a link or an explanation of how to do that? Thanks. |
8GB vram is quite enough. |
Right. I think I figured it out. Now I'm getting some other errors tho. Any ideas what the problem could be? (base) C:\Program1\DeepImageAnalogy-master>python main.py -g 0 --A_PATH Hellim1_41x64.png --BP_PATH HXMGA1.png |
Since the code was tested about 3 years ago and it seems the pretrained weights provided by jcjohnson is no longer available, you can try to download the weights from here or update the code in VGG19.py
To:
Let me know if either works, sorry for the inconvenience. |
Hi. I tried to use your program but I got this error. How can I fix it? Thanks!
python C:\Program1\DeepImageAnalogy-master\main.py -g 0 --A_PATH Hellim1.png --BP_PATH HXMGA1.png
Traceback (most recent call last):
File "C:\Program1\DeepImageAnalogy-master\main.py", line 50, in
assert torch.cuda.is_available()
AssertionError
The text was updated successfully, but these errors were encountered: