You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run test.py on my computer that does not have cuda installed, I get the following error even though --cuda=False. I attached the picture, but I also put the error below.
raise RuntimeError ('Attempting to deserialize object on a CUDA'
RuntimeError: Attempting to deserialize object on a CUDA device but torch.cuda.is_available () is False.
If you are running on a CPU-only machine, please use torch.load with map_location = 'cpu' to map your storages to the CPU.
In this case, modify the following line in main of test.py and the code will run well. Can you add this part to main code for cpu-only users? I put an example below.
CRAFT-pytorch/test.py
Line 112 in ce07620
When I run test.py on my computer that does not have cuda installed, I get the following error even though
--cuda=False
. I attached the picture, but I also put the error below.In this case, modify the following line in
main
oftest.py
and the code will run well. Can you add this part to main code for cpu-only users? I put an example below.An example of a modified code:
Thank you for publishing this good STD model.
The text was updated successfully, but these errors were encountered: