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] ModuleNotFoundError: No module named 'mmaction.registry' #2845

Open
3 tasks done
dqj5182 opened this issue May 15, 2024 · 2 comments
Open
3 tasks done

[Bug] ModuleNotFoundError: No module named 'mmaction.registry' #2845

dqj5182 opened this issue May 15, 2024 · 2 comments
Assignees

Comments

@dqj5182
Copy link

dqj5182 commented May 15, 2024

Branch

main branch (1.x version, such as v1.0.0, or dev-1.x branch)

Prerequisite

Environment

Python 3.9.19
torch 1.12.0

Describe the bug

Traceback (most recent call last):
File "/home/danieljung0121/mmaction2/tools/train.py", line 9, in
from mmaction.registry import RUNNERS
ModuleNotFoundError: No module named 'mmaction.registry'

Reproduces the problem - code sample

python tools/train.py configs/skeleton/posec3d/slowonly_r50_u48_240e_ntu120_xsub_keypoint.py --work-dir work_dirs/slowonly_r50_u48_240e_ntu120_xsub_keypoint --validate --test-best --gpus 2 --seed 0 --deterministic

Reproduces the problem - command or script

No response

Reproduces the problem - error message

No response

Additional information

No response

@APOLOGIZ-E
Copy link

Hi I had this problem too ,did you solve it?

@dqj5182
Copy link
Author

dqj5182 commented Jun 21, 2024

I think I did solve this because now I can run the code. But, I am not sure how I solved it. I think this was more of a general problem (not restricted to this code) that could be solved relatively easily.

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

3 participants