Code Monkey home page Code Monkey logo

Comments (15)

nikhilaravi avatar nikhilaravi commented on July 24, 2024 1

@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.

sinanmut avatar sinanmut commented on July 24, 2024 1

I don't have any errors any more, thanks a lot!

from pytorch3d.

semihcanturk avatar semihcanturk commented on July 24, 2024 1

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.

nikhilaravi avatar nikhilaravi commented on July 24, 2024

@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.

semihcanturk avatar semihcanturk commented on July 24, 2024

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.

REscanDon avatar REscanDon commented on July 24, 2024

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.

sinanmut avatar sinanmut commented on July 24, 2024

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.

nikhilaravi avatar nikhilaravi commented on July 24, 2024

@sinanmut @REscanDon @semihcanturk I am looking into this and will report back soon.

from pytorch3d.

nikhilaravi avatar nikhilaravi commented on July 24, 2024

@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.

semihcanturk avatar semihcanturk commented on July 24, 2024

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.

nikhilaravi avatar nikhilaravi commented on July 24, 2024

@semihcanturk can you try doing import torch before importing pytorch3d?

from pytorch3d.

semihcanturk avatar semihcanturk commented on July 24, 2024

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.

nikhilaravi avatar nikhilaravi commented on July 24, 2024

@semihcanturk it seems PyTorch3D was not installed properly. Did you try pip uninstall and reinstalling?

from pytorch3d.

semihcanturk avatar semihcanturk commented on July 24, 2024

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.

nikhilaravi avatar nikhilaravi commented on July 24, 2024

ok great! I will close this issue!

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.