The official repo for [CVPR'23] "DeepSolo: Let Transformer Decoder with Explicit Points Solo for Text Spotting" & [ArXiv'23] "DeepSolo++: Let Transformer Decoder with Explicit Points Solo for Multilingual Text Spotting"
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)
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)