Open sonic4380 opened 4 years ago
You need to change these lines: from "cuda" to "cpu" https://github.com/xinntao/ESRGAN/blob/435851ee28ef315df3fa59eae0328e76a618ac40/test.py#L9-L10
But it doesn't even say "cuda"!, it says "model = model.to(device)", so something must be really wrong, right?
for me this worked ok
python3 test.py --cpu models/YOURMODEL.pth
using the repo at https://github.com/BlueAmulet/ESRGAN.git
I'm trying to put the command "python test.py --cpu models/RRDB_ESRGAN_x4.pth", but it doesn't work, instead, i get an error saying "Torch not compiled with CUDA enabled", i'm using a Laptop with Intel i5 Graphics card, is there anything i can do?![image](https://user-images.githubusercontent.com/19676944/73512886-fb70cc00-43b0-11ea-9945-5ea3db006983.png)