Skip to content
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

Please update the colab its no longer working. #196

Open
AkTheBoss001 opened this issue Mar 9, 2023 · 12 comments
Open

Please update the colab its no longer working. #196

AkTheBoss001 opened this issue Mar 9, 2023 · 12 comments

Comments

@AkTheBoss001
Copy link

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

@tzatter
Copy link

tzatter commented Mar 16, 2023

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

@AkTheBoss001
Copy link
Author

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.

@SlimeVRX
Copy link

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

@bySnach
Copy link

bySnach commented Mar 19, 2023

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.

@SlimeVRX
Copy link

Hi,

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

image

image

@AkTheBoss001
Copy link
Author

Hi,

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

image

image

Thanks 😊

@nernakpima
Copy link

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

@SlimeVRX
Copy link

Hi @nernakpima, Many thanks!

@AkTheBoss001
Copy link
Author

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

@dar0xt
Copy link

dar0xt commented May 21, 2023

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
Copy link

dar0xt commented May 21, 2023

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

@zqh0253
Copy link

zqh0253 commented Mar 6, 2024

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants