-
Notifications
You must be signed in to change notification settings - Fork 1
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
ModuleNotFoundError: No module named 'torch._custom_ops' #3
Comments
also I'm using python=3.11 in the base env |
Hi, it looks like a package version problem, maybe try reinstall pytorch and torchvision can help. You can use the recommend environment at https://github.com/Colmar-zlicheng/Spring-Gaus?tab=readme-ov-file#rocket-dependencies |
I have the same problem.Have you solved it? |
I tried reinstalling torch and torchvision,but it didn't work. |
Can you provide your torch version? |
|
What's your pytorch version and torchvision version? |
|
It seems that windows only supported pytorch3D==0.7.4 and it is no longer support python==3.7 |
The ERROR occur when I try to train the data.I was using CUDA=11.8 and pytorch3D==0.7.4,I don't sure whether this is a potential reason or not.
The full ERROR report are as follow:
(base) PS F:\hhy\Spring-Gaus-main> python train.py -g 0 --cfg config/real_capture/burger.yaml --eval_cam 0 --exp_id burger
Traceback (most recent call last):
File "F:\hhy\Spring-Gaus-main\train.py", line 30, in
from lib.utils.transform import inverse_sigmoid, uniform_sampling
File "F:\hhy\Spring-Gaus-main\lib\utils\transform.py", line 11, in
import torchvision.transforms.functional as tvF
File "C:\Users\Administrator\anaconda3\Lib\site-packages\torchvision_init_.py", line 6, in
from torchvision import _meta_registrations, datasets, io, models, ops, transforms, utils
File "C:\Users\Administrator\anaconda3\Lib\site-packages\torchvision_meta_registrations.py", line 4, in
import torch._custom_ops
ModuleNotFoundError: No module named 'torch._custom_ops'
The text was updated successfully, but these errors were encountered: