Code Monkey home page Code Monkey logo

Comments (3)

nikhilaravi avatar nikhilaravi commented on July 24, 2024 2

This is issue now fixed on master so pip install 'git+https://github.com/facebookresearch/pytorch3d.git' will work in a colab notebook.

from pytorch3d.

sinanmut avatar sinanmut commented on July 24, 2024

Hi,
I have the same error: ImportError: /usr/local/lib/python3.6/dist-packages/pytorch3d/_C.cpython-36m-x86_64-linux-gnu.so: undefined symbol: _Z24RasterizeMeshesNaiveCudaRKN2at6TensorES2_S2_ifib

Is there any solution for this error?
Thanks

from pytorch3d.

nikhilaravi avatar nikhilaravi commented on July 24, 2024

While we fix the issue in the installation to get unblocked with the colab notebooks, you can use the anaconda cloud package instead of using pip install from github.

Set hardware type

If you want to use a GPU you can change the runtime settings e.g.

Screen Shot 2020-02-07 at 4 11 38 PM Screen Shot 2020-02-07 at 4 11 27 PM

Install PyTorch3d

In the first cell few cells in the colab notebook run the following steps:

  1. Install anaconda cloud
    Either install miniconda
!wget https://repo.continuum.io/miniconda/Miniconda3-4.5.4-Linux-x86_64.sh && bash Miniconda3-4.5.4-Linux-x86_64.sh -bfp /usr/local

OR Install Anaconda 3.5

!wget https://repo.anaconda.com/archive/Anaconda3-5.2.0-Linux-x86_64.sh && bash Anaconda3-5.2.0-Linux-x86_64.sh -bfp /usr/local
  1. Set path:
import sys
sys.path.append('/usr/local/lib/python3.6/site-packages')
  1. Install pytorch, torchvision and fvcore:
!conda install -c pytorch pytorch torchvision cudatoolkit=10.0
!conda install -c conda-forge -c fvcore fvcore
  1. Install pytorch3d
!conda install pytorch3d -c pytorch3d

We will resolve the issue on master soon. If you still have questions please let us know.

from pytorch3d.

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.