-
Notifications
You must be signed in to change notification settings - Fork 102
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
some question about import error #91
Comments
I met the same problem. Did you solve it? |
THE SAME QUESTION. And I failed to install the following package: The above exception was the direct cause of the following exception: Traceback (most recent call last): |
it's caused by mismatch version of torch. fixed by replacing all "AT_CHECK" with "TORCH_CHECK" |
I met the error below when I use the predict.py, can you help me?
Traceback (most recent call last):
File "D:\Project\BinocularStereoVision\aanet\predict.py", line 10, in
import nets
File "D:\Project\BinocularStereoVision\aanet\nets_init_.py", line 1, in
from .aanet import AANet
File "D:\Project\BinocularStereoVision\aanet\nets\aanet.py", line 4, in
from .feature import (StereoNetFeature, PSMNetFeature, GANetFeature, GCNetFeature,
File "D:\Project\BinocularStereoVision\aanet\nets\feature.py", line 5, in
from nets.deform import DeformConv2d
File "D:\Project\BinocularStereoVision\aanet\nets\deform.py", line 3, in
from nets.deform_conv import DeformConv, ModulatedDeformConv
File "D:\Project\BinocularStereoVision\aanet\nets\deform_conv_init_.py", line 1, in
from .deform_conv import (DeformConv, DeformConvPack, ModulatedDeformConv,
File "D:\Project\BinocularStereoVision\aanet\nets\deform_conv\deform_conv.py", line 9, in
from . import deform_conv_cuda
ImportError: cannot import name 'deform_conv_cuda' from partially initialized module 'nets.deform_conv' (most likely due to a circular import) (D:\Project\BinocularStereoVision\aanet\nets\deform_conv_init_.py)
The text was updated successfully, but these errors were encountered: