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
Traceback (most recent call last):
File "tools/train_net.py", line 43, in
from adet.data.dataset_mapper import DatasetMapperWithBasis
File "/root/autodl-tmp/DeepSolo-main/adet/init.py", line 1, in
from adet import modeling
File "/root/autodl-tmp/DeepSolo-main/adet/modeling/init.py", line 2, in
from .text_spotter import TransformerPureDetector
File "/root/autodl-tmp/DeepSolo-main/adet/modeling/text_spotter.py", line 9, in
from adet.layers.pos_encoding import PositionalEncoding2D
File "/root/autodl-tmp/DeepSolo-main/adet/layers/init.py", line 1, in
from .ms_deform_attn import MSDeformAttn
File "/root/autodl-tmp/DeepSolo-main/adet/layers/ms_deform_attn.py", line 17, in
from adet import _C
ImportError: cannot import name '_C' from partially initialized module 'adet' (most likely due to a circular import) (/root/autodl-tmp/DeepSolo-main/adet/init.py)
The text was updated successfully, but these errors were encountered:
Traceback (most recent call last):
File "tools/train_net.py", line 43, in
from adet.data.dataset_mapper import DatasetMapperWithBasis
File "/root/autodl-tmp/DeepSolo-main/adet/init.py", line 1, in
from adet import modeling
File "/root/autodl-tmp/DeepSolo-main/adet/modeling/init.py", line 2, in
from .text_spotter import TransformerPureDetector
File "/root/autodl-tmp/DeepSolo-main/adet/modeling/text_spotter.py", line 9, in
from adet.layers.pos_encoding import PositionalEncoding2D
File "/root/autodl-tmp/DeepSolo-main/adet/layers/init.py", line 1, in
from .ms_deform_attn import MSDeformAttn
File "/root/autodl-tmp/DeepSolo-main/adet/layers/ms_deform_attn.py", line 17, in
from adet import _C
ImportError: cannot import name '_C' from partially initialized module 'adet' (most likely due to a circular import) (/root/autodl-tmp/DeepSolo-main/adet/init.py)
The text was updated successfully, but these errors were encountered: