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)
- Can we use timeseries of Pointclouds to classify HOT 1
- Render Densepose example: IndexError: tensors used as indices must be long, byte or bool tensors
- Win11: The detected CUDA version (12.0) mismatches the version that was used to compile PyTorch (11.7). HOT 1
- RuntimeError: Not compiled with GPU support when running knn HOT 3
- IndexError occurs when passing the `Meshes` with the last one being an empty mesh into `SubdivideMeshes`
- How can I align rendered image to be in the center? HOT 1
- windows11 install problem HOT 3
- How to continuous control of the camera based on the R_init and T_init. HOT 1
- ImportError: DLL load failed while importing _C: The specified program could not be found. HOT 5
- when i use pytorch3d to visual a voxel error. HOT 1
- Python 3.12
- std::optional pulsar build ERROR HOT 1
- Any plan to support `torch.func`? HOT 10
- Farthest Point Sampling to a predefined radius HOT 2
- can't install in colab HOT 2
- Get intersections between meshes / lines with meshes HOT 1
- Faces list creation does not work on MacOS HOT 2
- Bad rendering results on A100 GPU, but right in V100 or Tesla T4 GPU.
- RuntimeError: The backward pass for this operation requires the 'self' tensor to be strided, but a sparse tensor was given instead. HOT 1
- box3d_overlap may cause “RuntimeError: CUDA error: an illegal memory access was encountered” in some cases HOT 1
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.