You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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: