Comments (3)
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.
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.
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.
Install PyTorch3d
In the first cell few cells in the colab notebook run the following steps:
- 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
- Set path:
import sys
sys.path.append('/usr/local/lib/python3.6/site-packages')
- Install pytorch, torchvision and fvcore:
!conda install -c pytorch pytorch torchvision cudatoolkit=10.0
!conda install -c conda-forge -c fvcore fvcore
- 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)
- MeshRenderer gives unexpected result for non-square image_size HOT 1
- Install pytorch3d in aarch64/arm Linux architecture HOT 4
- Add EnvMapLights Class for Environment Map Lighting
- install pytorch3d HOT 1
- Can't find pytorch3d version 0.7.6 in pytorch3d channel (conda) HOT 1
- RuntimeError: The size of tensor a (3) must match the size of tensor b (4) at non-singleton dimension 4 HOT 1
- Texture disorder HOT 14
- cannot import name 'MeshesXD' from 'pytorch3d.structures HOT 1
- Get error from ninja. HOT 5
- how to apply pytorch3d to reconstruct 3d face pointclouds using the rgb and deepmap of one face (both got from pytorch3d) HOT 1
- Got ERROR: Failed building wheel for pytorch3d HOT 2
- Installation error under LINUX HOT 7
- Encountered a compilation error: the required .o files were not generated. HOT 4
- unable to build from source - `cannot import name 'packaging' from 'pkg_resources'` HOT 6
- latest version of pytorch3d does not support crop_bbox_xywh from CO3Dv2 HOT 3
- ModuleNotFoundError: No module named 'pytorch3d.structures' HOT 1
- Is there a way to install pytorch3d in a virtual environment on Windows without using conda? HOT 1
- Add `max` point reduction for chamfer distance
- I want to paste my own pictures on white cloth with different degrees of curvature. Is it possible? HOT 1
- the normal map is different form blender normal map HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pytorch3d.