Skip to content
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

[Bug] ImportError: cannot import name 'ActionVisualizer' from 'mmaction.structures' #2857

Open
3 tasks done
wuyiqii opened this issue Jun 27, 2024 · 0 comments
Open
3 tasks done
Assignees

Comments

@wuyiqii
Copy link

wuyiqii commented Jun 27, 2024

Branch

main branch (1.x version, such as v1.0.0, or dev-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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants