-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ImportError: DLL load failed: The specified procedure could not be found. #71
Comments
How have you installed pytorch3d? The library must be built before it can be used (it is not pure python). It does not yet build straightforwardly on Windows. |
Hi bottler, i have installed pytorch3d: (base) C:\Users\ethansu>conda activate aienv (aienv) C:\Users\ethansu>python
hence i am not sure why its still not working. Thank you so much for your help |
Like I asked. How have you installed it? |
Apologies for misunderstanding your question. After i have clone from Github |
That looks like you're running in a conda environment called pytorch3d not aienv, but I'm thinking you've tried the same thing more than once. I don't think those commands will have run successfully unless you've modified the code, because we know the library doesn't build properly on windows yet. (See for example PR #9) The build should have created a file with a long name called something like _C.cpython...pyd . If you are have GPU support enabled it should be several megabytes in size. The install should have copied it (possibly with a slight rename) to somewhere in One thing to think of is that even if the build fails and the install fails, the command |
I have tried to search for _C.cpython...pyd and i have found the file in \Lib\site-packages\pytorch3d-0.1-py3.6-win-amd64.egg\pytorch3d_C.cp36-win_amd64.pyd Is this the file you are mentioning? Do you think re-creating a new environment and rebuilding would be a better solution? |
Yes, that sounds like the right file. I hope it is about a megabyte in size or larger. I haven't experimented enough with the windows build to know how it might go wrong. Yes, it might be useful to start again in a new environment. As a next step, I would be tempted to open up that file |
@ethansu1992 I'm closing this issue. Feel free to reopen it if you are still experiencing problems. |
Hello, please I ran into this error while I was trying to preprocess the Shapenet dataset. I had it working all along until I re-installed the Pytorch GPU in the Anaconda environment. I will appreciate any help please. I had tried the above suggestion but not working. (pytorch3d) C:\meshrcnn>python tools/preprocess_shapenet.py --r2n2_dir C:\meshrcnn\datasets\shapenet\ShapeNetRendering --shapenet_dir C:\meshrcnn\datasets\shapenet\ShapeNetCore_v1 --shapenet_binvox_dir C:\meshrcnn\datasets\shapenet\ShapeNetCore.v1.binvox --splits_file C:\meshrcnn\datasets\shapenet\pix2mesh_splits_val05.json --output_dir ./datasets/shapenet/ShapeNetV1processed --zip_output (pytorch3d) C:\meshrcnn>python tools/preprocess_shapenet.py --output_dir ./datasets/shapenet/ShapeNetprocessed --zip_output |
@steezy18 Please open a new issue if you want us to help, giving all the details of how you installed. This issue was resolved more than two years ago. |
Hi i have this issue when i am trying to run the tutorial.
(aienv) C:\Users\Desktop\AIrendering>C:/Users/AppData/Local/Continuum/anaconda3/envs/aienv/python.exe c:/Users/Desktop/AIrendering/meshing.py
Traceback (most recent call last):
File "c:/Users/Desktop/AIrendering/meshing.py", line 8, in
from pytorch3d.io import load_objs_as_meshes
File "c:\Users\Desktop\AIrendering\pytorch3d\io_init_.py", line 4, in
from .obj_io import load_obj, load_objs_as_meshes, save_obj
File "c:\Users\Desktop\AIrendering\pytorch3d\io\obj_io.py", line 16, in
from pytorch3d.structures import Meshes, Textures, join_meshes
File "c:\Users\Desktop\AIrendering\pytorch3d\structures_init_.py", line 3, in
from .meshes import Meshes, join_meshes
File "c:\Users\Desktop\pytorch3d\structures\meshes.py", line 7, in
from pytorch3d import _C
ImportError: DLL load failed: The specified procedure could not be found.
What can i do to overcome this problem?
The text was updated successfully, but these errors were encountered: