Comments (12)
Hi,
Current Colab python version is 3.9, you have to go back to 3.8
from 3d-photo-inpainting.
Fixes that help me to run it colab
Packages
!pip install torch
!pip install torchvision
!pip install scikit-image
!pip install opencv-python
!pip install vispy
!pip install moviepy==1.0.2
!pip install transforms3d
!pip install networkx
!pip install pyyaml==5.4.1
!pip install PyQt5==5.13.2
!pip install pyvirtualdisplay
!pip install numpy
Rendering
!sudo apt-get install xvfb libglfw3-dev libgles2-mesa-dev libxkbcommon-dev libxkbcommon-x11-dev libdbus-1-dev
Add to main.py on top
import os
#os.environ['QT_DEBUG_PLUGINS'] = '1'
import subprocess
subprocess.run('nvidia-smi', shell=True)
from pyvirtualdisplay import Display
display = Display(visible=0, size=(1920, 1080)).start()
Also, fix in main.py
config = yaml.safe_load(open(args.config, 'r'))
mesh.py
mesh = refresh_node(single_edge_node, mesh.nodes[single_edge_node], new_node, dict(), mesh)
from 3d-photo-inpainting.
I found a Colab solution here, it works with Python 3.8
from 3d-photo-inpainting.
Google colab's OS is upgraded from ubuntu18.04 to ubuntu20.04 in this year
from 3d-photo-inpainting.
Hi,
Current Colab python version is 3.9, you have to go back to 3.8
Thanks π
from 3d-photo-inpainting.
Hi @nernakpima, Many thanks!
from 3d-photo-inpainting.
Fixes that help me to run it colab
Packages!pip install torch !pip install torchvision !pip install scikit-image !pip install opencv-python !pip install vispy !pip install moviepy==1.0.2 !pip install transforms3d !pip install networkx !pip install pyyaml==5.4.1 !pip install PyQt5==5.13.2 !pip install pyvirtualdisplay !pip install numpy
Rendering
!sudo apt-get install xvfb libglfw3-dev libgles2-mesa-dev libxkbcommon-dev libxkbcommon-x11-dev libdbus-1-dev
Add to main.py on top
import os #os.environ['QT_DEBUG_PLUGINS'] = '1' import subprocess subprocess.run('nvidia-smi', shell=True) from pyvirtualdisplay import Display display = Display(visible=0, size=(1920, 1080)).start()
Also, fix in main.py
config = yaml.safe_load(open(args.config, 'r'))
mesh.py
mesh = refresh_node(single_edge_node, mesh.nodes[single_edge_node], new_node, dict(), mesh)
Thanks
from 3d-photo-inpainting.
Fixes that help me to run it colab Packages
!pip install torch !pip install torchvision !pip install scikit-image !pip install opencv-python !pip install vispy !pip install moviepy==1.0.2 !pip install transforms3d !pip install networkx !pip install pyyaml==5.4.1 !pip install PyQt5==5.13.2 !pip install pyvirtualdisplay !pip install numpy
Rendering
!sudo apt-get install xvfb libglfw3-dev libgles2-mesa-dev libxkbcommon-dev libxkbcommon-x11-dev libdbus-1-dev
Add to main.py on top
import os #os.environ['QT_DEBUG_PLUGINS'] = '1' import subprocess subprocess.run('nvidia-smi', shell=True) from pyvirtualdisplay import Display display = Display(visible=0, size=(1920, 1080)).start()
Also, fix in main.py
config = yaml.safe_load(open(args.config, 'r'))
mesh.py
mesh = refresh_node(single_edge_node, mesh.nodes[single_edge_node], new_node, dict(), mesh)
Thank you so much from the bottom of my heart!
from 3d-photo-inpainting.
Google colab's OS is upgraded from ubuntu18.04 to ubuntu20.04 in this year
But is there any way to use it on colab now?
If you can help please do so. It will me appreciated.
from 3d-photo-inpainting.
I found a Colab solution here, it works with Python 3.8
Hello @SlimeVRX, I just tried to use this Colab solution, but unfortunately after trying to run the dependencies - I get an error with the vispy installation:
Looking in indexes: https://pypi.org/simple, https://us-python.pkg.dev/colab-wheels/public/simple/
Collecting vispy==0.6.4
Downloading vispy-0.6.4.tar.gz (13.3 MB)
ββββββββββββββββββββββββββββββββββββββββ 13.3/13.3 MB 37.0 MB/s eta 0:00:00
error: subprocess-exited-with-errorΓ pip subprocess to install build dependencies did not run successfully.
β exit code: 1
β°β> See above for output.note: This error originates from a subprocess, and is likely not a problem with pip.
Installing build dependencies ... error
error: subprocess-exited-with-errorΓ pip subprocess to install build dependencies did not run successfully.
β exit code: 1
β°β> See above for output.note: This error originates from a subprocess, and is likely not a problem with pip.
from 3d-photo-inpainting.
Fixes that help me to run it colab Packages
!pip install torch !pip install torchvision !pip install scikit-image !pip install opencv-python !pip install vispy !pip install moviepy==1.0.2 !pip install transforms3d !pip install networkx !pip install pyyaml==5.4.1 !pip install PyQt5==5.13.2 !pip install pyvirtualdisplay !pip install numpy
Rendering
!sudo apt-get install xvfb libglfw3-dev libgles2-mesa-dev libxkbcommon-dev libxkbcommon-x11-dev libdbus-1-dev
Add to main.py on top
import os #os.environ['QT_DEBUG_PLUGINS'] = '1' import subprocess subprocess.run('nvidia-smi', shell=True) from pyvirtualdisplay import Display display = Display(visible=0, size=(1920, 1080)).start()
Also, fix in main.py
config = yaml.safe_load(open(args.config, 'r'))
mesh.py
mesh = refresh_node(single_edge_node, mesh.nodes[single_edge_node], new_node, dict(), mesh)
Thank you so much from the bottom of my heart!
hi, I wait the followig line for several hours, what should I do if I can't move forward from here?
from 3d-photo-inpainting.
Fixes that help me to run it colab Packages
!pip install torch !pip install torchvision !pip install scikit-image !pip install opencv-python !pip install vispy !pip install moviepy==1.0.2 !pip install transforms3d !pip install networkx !pip install pyyaml==5.4.1 !pip install PyQt5==5.13.2 !pip install pyvirtualdisplay !pip install numpy
Rendering
!sudo apt-get install xvfb libglfw3-dev libgles2-mesa-dev libxkbcommon-dev libxkbcommon-x11-dev libdbus-1-dev
Add to main.py on top
import os #os.environ['QT_DEBUG_PLUGINS'] = '1' import subprocess subprocess.run('nvidia-smi', shell=True) from pyvirtualdisplay import Display display = Display(visible=0, size=(1920, 1080)).start()
Also, fix in main.py
config = yaml.safe_load(open(args.config, 'r'))
mesh.py
mesh = refresh_node(single_edge_node, mesh.nodes[single_edge_node], new_node, dict(), mesh)
Thank you so much from the bottom of my heart!
hi, I wait the followig line for several hours, what should I do if I can't move forward from here?
Same here. Have you addressed the issue?
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
- 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)?
- π£ Do not waste your time with this old repo; here is the working one! HOT 6
- 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.