Comments (6)
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.
from 3d-photo-inpainting.
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
have an NVIDIA GPU and installed a driver from
http://www.nvidia.com/Download/index.aspx
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.
from 3d-photo-inpainting.
I was able to install an NVIDIA driver, now error is:
AssertionError:
The NVIDIA driver on your system is too old (found version 9010).
Please update your GPU driver by downloading and installing a new
version from the URL: http://www.nvidia.com/Download/index.aspx
Alternatively, go to: https://pytorch.org to install
a PyTorch version that has been compiled with your version
of the CUDA driver.
from 3d-photo-inpainting.
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
from 3d-photo-inpainting.
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
0%| | 0/2 [00:00<?, ?it/s]Current Source ==> 594A2731-768x512
initialize
device: cpu
start processing
processing image/594A2731-768x512.jpg (1/1)
torch.Size([1, 3, 256, 384])
finished
Start Running 3D_Photo ...
Killed
from 3d-photo-inpainting.
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.
from 3d-photo-inpainting.
Related Issues (20)
- 3d
- Why the mesh result is blank?
- RuntimeError: CUDA error: no kernel image is available for execution on the device HOT 2
- cugraph accelerate
- Please update the colab its no longer working. HOT 12
- ModuleNotFoundError: No module named 'vispy' HOT 3
- What is the function 'extrapolate' in mesh.py?
- 3dp
- lookAt configuration HOT 1
- Can this colab be fixed, or is there another way of doing 3D photo in painting HOT 2
- FileNotFoundError
- Video generation process stuck in 3D-photo-inpainting
- Alternative repo? HOT 5
- Hello, how can I make it faster and which parts can be optimized?
- How to produce a right eye photo? HOT 3
- Trying to install on windows without luck. Is it possible?
- any chance of an upgrade to support modern python (3.10.x)? HOT 1
- 📣 Do not waste your time with this old repo; here is the working one! HOT 7
- Transformar 2d em 3d
- How to obtain quantitative evaluation metrics in the way of the paper?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from 3d-photo-inpainting.