File "/share/data02/wuyiqidata/Anaconda3/envs/openmmlab/lib/python3.8/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1014, in _gcd_import
File "", line 991, in _find_and_load
File "", line 975, in _find_and_load_unlocked
File "", line 671, in _load_unlocked
File "", line 843, in exec_module
File "", line 219, in _call_with_frames_removed
File "/share/data02/wuyiqidata/mmaction2/mmaction/visualization/init.py", line 2, in
from mmaction.structures import ActionVisualizer
ImportError: cannot import name 'ActionVisualizer' from 'mmaction.structures' (/share/data02/wuyiqidata/mmaction2/mmaction/structures/init.py)
Branch
main branch (1.x version, such as
v1.0.0
, ordev-1.x
branch)Prerequisite
Environment
$ python3 tools/test.py configs/localization/tcanet/tcanet_2xb8-700x100-9e_hacs-feature.py checkpoint/tcanet_2xb8-700x100-9e_hacs-feature_20230621-d6bc10b0.pth
Describe the bug
File "/share/data02/wuyiqidata/Anaconda3/envs/openmmlab/lib/python3.8/importlib/init.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1014, in _gcd_import
File "", line 991, in _find_and_load
File "", line 975, in _find_and_load_unlocked
File "", line 671, in _load_unlocked
File "", line 843, in exec_module
File "", line 219, in _call_with_frames_removed
File "/share/data02/wuyiqidata/mmaction2/mmaction/visualization/init.py", line 2, in
from mmaction.structures import ActionVisualizer
ImportError: cannot import name 'ActionVisualizer' from 'mmaction.structures' (/share/data02/wuyiqidata/mmaction2/mmaction/structures/init.py)
Reproduces the problem - code sample
No response
Reproduces the problem - command or script
No response
Reproduces the problem - error message
No response
Additional information
No response