Skip to content
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

from pytorch3d import _C #18

Open
CURRYZJW opened this issue Nov 1, 2023 · 10 comments
Open

from pytorch3d import _C #18

CURRYZJW opened this issue Nov 1, 2023 · 10 comments

Comments

@CURRYZJW
Copy link

CURRYZJW commented Nov 1, 2023

File "D:/learning/InterWild-main/InterWild-main/1.py", line 1, in
from pytorch3d import _C
ImportError: DLL load failed while importing _C:

@mks0601
Copy link
Collaborator

mks0601 commented Nov 1, 2023

what is your 1.py

@CURRYZJW
Copy link
Author

CURRYZJW commented Nov 1, 2023

from pytorch3d import _C

@mks0601
Copy link
Collaborator

mks0601 commented Nov 1, 2023

why do you do that? you can just run python train.py or python test.py

@CURRYZJW
Copy link
Author

CURRYZJW commented Nov 1, 2023

thanks,i try again

@SherLigtv
Copy link

I have the same issue, even if I only run the train.py. It seems to happen at blending.py

@mks0601
Copy link
Collaborator

mks0601 commented Mar 14, 2024

did you install pytorch3d?

@SherLigtv
Copy link

SherLigtv commented Mar 14, 2024

Yes,

pytorch3d 0.7.6

Trying to run it on python 3.10

@mks0601
Copy link
Collaborator

mks0601 commented Mar 14, 2024

I think there is something wrong with your pytorch3d installation. that error is definitely from pytorch3d. Could you install pytorch3d using the source code?

@SherLigtv
Copy link

I tried creating a new environment but it still seems like Torch and PyTorch3D are not working correctly. I installed them as stated in their installation guides for windows. I now get the error:

AssertionError: Torch not compiled with CUDA enabled

I have had this error on my other environment as well, but I fixed it there. Can't seem to be able to fix it this time. I suspect it's because of incorrect paths but I am not quite sure.

@mks0601
Copy link
Collaborator

mks0601 commented Mar 14, 2024

well sorry but that should be something related to pytorch/pytorch3d installation. It seems your python/pytorch3d version is quite old, so I recommend updating them

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants