Comments (15)
@sinanmut your issue is now resolved. @semihcanturk we are making some changes so the library can be built for cpu only. We will try to get this fixed ASAP. In the meantime please see #29 for instructions on how to run the tutorials in a collab environment.
from pytorch3d.
I don't have any errors any more, thanks a lot!
from pytorch3d.
oh, my apologies - I think the issue arose from the cloned repo (where the tutorials are) rather than the installed pytorch3d package. It seems to be resolved now that I ran python3 setup.py build develop
on the repository root.
I have, however, encountered a new one in RuntimeError: Not implemented on the CPU.
Will file it under a separate issue though as it is not directly related to the one in the title.
from pytorch3d.
@semihcanturk this looks like an error with building CUDA. Can you share more details about the environment you are using e.g. CUDA version?
from pytorch3d.
I was trying to get it working on CPU only, don't have CUDA available unfortunately. INSTALL.md mentions some components have CPU implementations in C++/Pytorch as well, but I assume this particular tutorial requires GPU implementations in this case.
from pytorch3d.
See also #29 (which is a dupe of this issue but with a different title and seen running in the tutorial colab notebooks context)
from pytorch3d.
Hi,
I have cuda 10.0 and t trying to build the package with "python setup.py install --user". I am getting the save error for "from pytorch3d.structures import Meshes".
from pytorch3d.
@sinanmut @REscanDon @semihcanturk I am looking into this and will report back soon.
from pytorch3d.
@semihcanturk a fix has been landed in master so please try again with the latest version of the repo. If you still experience problems feel free to reopen this issue.
from pytorch3d.
I'm afraid the issue persists on my end. Reinstalled the latest master via pip3 install git+https://github.com/facebookresearch/pytorch3d.git
, and the error is very much the same, except the last section:
ImportError: dlopen(/Users/semo/PycharmProjects/pytorch3d/pytorch3d/_C.cpython-37m-darwin.so, 2): Symbol not found: __Z23RasterizeMeshesFineCudaRKN2at6TensorES2_ifiib
Referenced from: /Users/semo/PycharmProjects/pytorch3d/pytorch3d/_C.cpython-37m-darwin.so
Expected in: flat namespace
in /Users/semo/PycharmProjects/pytorch3d/pytorch3d/_C.cpython-37m-darwin.so
has been replaced by this simpler message:
ImportError: cannot import name '_C' from 'pytorch3d' (/Users/semo/PycharmProjects/pytorch3d/pytorch3d/__init__.py)
Can you reopen the issue? Thanks!
from pytorch3d.
@semihcanturk can you try doing import torch
before importing pytorch3d?
from pytorch3d.
That is how it is right now. I also tried moving import torch
to a cell above the one that imports pytorch3d and ran the cells sequentially, but neither case worked.
from pytorch3d.
@semihcanturk it seems PyTorch3D was not installed properly. Did you try pip uninstall and reinstalling?
from pytorch3d.
yup. tried uninstall/installing both the default pip install pytorch3d
(v 0.0.1) and the latest master via pip install git+https://github.com/facebookresearch/pytorch3d.git
(v 0.1), but the issue remains.
from pytorch3d.
ok great! I will close this issue!
from pytorch3d.
Related Issues (20)
- can't install pytorch3d HOT 2
- Marching Cubes CUDA implementation generates face indices out of bounds HOT 2
- Rendering depth map with Pytorch3D vs Open3D HOT 2
- No module named 'pytorch3d.structures' HOT 1
- get error: IndexError: tensors used as indices must be long, byte or bool tensors HOT 3
- Joining a Batch of Scenes HOT 1
- Size Mismatch between tensors when rendering SMPL model HOT 3
- Very slow rendering for large mesh HOT 8
- ImportError: libc10_cuda.so: cannot open shared object file: No such file or directory HOT 7
- the use of the normals_packed() HOT 1
- pointcould render issue
- Trouble updating all pixels from texture that contribute to render HOT 1
- load_obj save_obj seems to modify the original obj (has anyone else seen this) HOT 3
- Could not build wheels for pytorch3d HOT 3
- ERROR: Could not build wheels for pytorch3d, which is required to install pyproject.toml-based projects | Suggested methods in Issue #1734 did not help HOT 5
- Potential IOU compute Bug in box3d_overlap HOT 9
- How to create a uniform TexturesUV by giving verts and faces? HOT 1
- torch3d consumes a lot of memory when loading obj's
- It looks like my camera's spatial Camera position has moved backwards, but plot_scene doesn't have the xyz parameter entered, am I parsing the camera parameters wrong? HOT 3
- Possibly insufficient preallocation in IoU3D algorithm implementation
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.