05/07 08:32:33 - mmengine - WARNING - Failed to import `None.registry` make sure the registry.py exists in `None` package.
05/07 08:32:33 - mmengine - WARNING - Failed to search registry with scope "mmdet" in the "visualizer" registry tree. As a workaround, the current "visualizer" registry in "mmengine" is used to build instance. This may cause unexpected failure when running the built modules. Please check whether "mmdet" is a correct scope, or whether the registry is initialized.
Traceback (most recent call last):
File "/workspace/mmaction2/tools/train.py", line 143, in <module>
main()
File "/workspace/mmaction2/tools/train.py", line 132, in main
runner = Runner.from_cfg(cfg)
File "/opt/conda/lib/python3.10/site-packages/mmengine/runner/runner.py", line 462, in from_cfg
runner = cls(
File "/opt/conda/lib/python3.10/site-packages/mmengine/runner/runner.py", line 416, in __init__
self.visualizer = self.build_visualizer(visualizer)
File "/opt/conda/lib/python3.10/site-packages/mmengine/runner/runner.py", line 803, in build_visualizer
return VISUALIZERS.build(visualizer)
File "/opt/conda/lib/python3.10/site-packages/mmengine/registry/registry.py", line 570, in build
return self.build_func(cfg, *args, **kwargs, registry=self)
File "/opt/conda/lib/python3.10/site-packages/mmengine/registry/build_functions.py", line 100, in build_from_cfg
raise KeyError(
KeyError: 'ActionVisualizer is not in the mmengine::visualizer registry. Please check whether the value of `ActionVisualizer` is correct or it was registered as expected. More details can be found at https://mmengine.readthedocs.io/en/latest/advanced_tutorials/config.html#import-the-custom-module'
Reproduces the problem - code sample
This is the code I have in my configs/detection/slowfast folder:
I run the training like this:
python tools/train.py configs/detection/slowfast/slowfast_kinetics400-pretrained-r50_8xb8-8x8x1-20e_chantwin.py
Reproduces the problem - error message
No response
Additional information
I am trying to obtain results of action detection from my own dataset which contains different action classes, is not multilabel and is not annotated by key frames.
My dataset is composed of about 170 videos ranging from 20s to 1m30s of duration. Each video will contain 1 or more bboxes of the same class but not different classes. Also, it will contain just 1 activity label per bounding box per frame.
Branch
main branch (1.x version, such as
v1.0.0
, ordev-1.x
branch)Prerequisite
Environment
I am trying to fine tune my own dataset in AVA format for Spatio Temporal Action Detection in a Docker environment:
Then i installed the following:
Describe the bug
This is the complete log of the bug:
Reproduces the problem - code sample
This is the code I have in my
configs/detection/slowfast
folder:Reproduces the problem - command or script
I run the training like this:
python tools/train.py configs/detection/slowfast/slowfast_kinetics400-pretrained-r50_8xb8-8x8x1-20e_chantwin.py
Reproduces the problem - error message
No response
Additional information