3d-photo-inpainting
3d-photo-inpainting copied to clipboard
Please update the colab its no longer working.
There are many errors, i think Cuda version has been updated so torch no longer work and even if torch is update there many nore errors hope you fix them. Thanks
Google colab's OS is upgraded from ubuntu18.04 to ubuntu20.04 in this year
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.
I found a Colab solution here, it works with Python 3.8
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.
Hi,
Current Colab python version is 3.9, you have to go back to 3.8
Hi,
Current Colab python version is 3.9, you have to go back to 3.8
Thanks 😊
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)
Hi @nernakpima, Many thanks!
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
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!
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?
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?