3d-photo-inpainting icon indicating copy to clipboard operation
3d-photo-inpainting copied to clipboard

Please update the colab its no longer working.

Open AkTheBoss001 opened this issue 1 year ago • 12 comments

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

AkTheBoss001 avatar Mar 09 '23 10:03 AkTheBoss001

Google colab's OS is upgraded from ubuntu18.04 to ubuntu20.04 in this year

tzatter avatar Mar 16 '23 19:03 tzatter

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.

AkTheBoss001 avatar Mar 17 '23 05:03 AkTheBoss001

I found a Colab solution here, it works with Python 3.8

SlimeVRX avatar Mar 19 '23 01:03 SlimeVRX

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.

bySnach avatar Mar 19 '23 11:03 bySnach

Hi,

Current Colab python version is 3.9, you have to go back to 3.8

image

image

SlimeVRX avatar Mar 19 '23 16:03 SlimeVRX

Hi,

Current Colab python version is 3.9, you have to go back to 3.8

image

image

Thanks 😊

AkTheBoss001 avatar Mar 20 '23 07:03 AkTheBoss001

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)

image

nernakpima avatar Apr 10 '23 11:04 nernakpima

Hi @nernakpima, Many thanks!

SlimeVRX avatar Apr 11 '23 04:04 SlimeVRX

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)

image

Thanks

AkTheBoss001 avatar Apr 11 '23 04:04 AkTheBoss001

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)

image

Thank you so much from the bottom of my heart!

dar0xt avatar May 21 '23 02:05 dar0xt

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)

image

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?

image

dar0xt avatar May 21 '23 06:05 dar0xt

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)

image

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?

image

Same here. Have you addressed the issue?

zqh0253 avatar Mar 06 '24 07:03 zqh0253