Code Monkey home page Code Monkey logo

Comments (12)

SlimeVRX avatar SlimeVRX commented on June 11, 2024 4

Hi,

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

image

image

from 3d-photo-inpainting.

nernakpima avatar nernakpima commented on June 11, 2024 4

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

from 3d-photo-inpainting.

SlimeVRX avatar SlimeVRX commented on June 11, 2024 2

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

from 3d-photo-inpainting.

tzatter avatar tzatter commented on June 11, 2024 1

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

from 3d-photo-inpainting.

AkTheBoss001 avatar AkTheBoss001 commented on June 11, 2024 1

Hi,

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

image

image

Thanks 😊

from 3d-photo-inpainting.

SlimeVRX avatar SlimeVRX commented on June 11, 2024 1

Hi @nernakpima, Many thanks!

from 3d-photo-inpainting.

AkTheBoss001 avatar AkTheBoss001 commented on June 11, 2024 1

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

from 3d-photo-inpainting.

dar0xt avatar dar0xt commented on June 11, 2024 1

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!

from 3d-photo-inpainting.

AkTheBoss001 avatar AkTheBoss001 commented on June 11, 2024

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.

bySnach avatar bySnach commented on June 11, 2024

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.

dar0xt avatar dar0xt commented on June 11, 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

from 3d-photo-inpainting.

zqh0253 avatar zqh0253 commented on June 11, 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?

from 3d-photo-inpainting.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.