-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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 with CUDA #18
Comments
I was able to install the toolkit from the nvidia website, but now I get the following error. 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=torch.device('cpu') to map your storages to the CPU. |
I updated main.py to use torch.device('cpu') and now I get this error. Found no NVIDIA driver on your system. Please check that you I'm running Ubuntu on an old MacBook Pro (~2011). I'm guessing I may have more luck spinning up an EC2 instance on AWS and trying again. |
I was able to install an NVIDIA driver, now error is: AssertionError: |
I now tried a brand new instance from AWS. I used the Ubuntu Deep Learning AMI (Free Tier) and the install went well except I had to update main.py to again use 'cpu' instead of device. Then when I ran my first image I got the following error: RuntimeError: cuda runtime error (100) : no CUDA-capable device is detected at /opt/conda/conda-bld/pytorch_1579022060824/work/aten/src/THC/THCGeneral.cpp:50 |
I updated the arguments.yml file to -1 for GPUs to just use CPU and now it appears to be running and then just says "Killed" with no other messages? ideas? python main.py --config argument.yml |
So after a day of working on it, I realized I was just using a drastically under-powered and under GPU'd computers. I got everything working and I think it's truly amazing. Thanks for your work on this project. Marking my issue as closed. |
Hi I'm getting an issue installing Cuda. Any suggestions?
~/3d-photo-inpainting-master: conda install pytorch==1.4.0 torchvision==0.5.0 cudatoolkit==10.1.243 -c pytorch
Fetching package metadata ...........
PackageNotFoundError: Package missing in current linux-64 channels:
The text was updated successfully, but these errors were encountered: