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

KeyError: 'SelfSupVisualizer is not in the mmengine::visualizer registry. #788

Closed
CODERED555 opened this issue Sep 4, 2024 · 0 comments
Closed
Assignees

Comments

@CODERED555
Copy link

Traceback (most recent call last):
File "mmselfsup-main/tools/train.py", line 96, in
main()
File "mmselfsup-main/tools/train.py", line 89, in main
runner = Runner.from_cfg(cfg)
File "/opt/conda/lib/python3.8/site-packages/mmengine/runner/runner.py", line 462, in from_cfg
runner = cls(
File "/opt/conda/lib/python3.8/site-packages/mmengine/runner/runner.py", line 416, in init
self.visualizer = self.build_visualizer(visualizer)
File "/opt/conda/lib/python3.8/site-packages/mmengine/runner/runner.py", line 803, in build_visualizer
return VISUALIZERS.build(visualizer)
File "/opt/conda/lib/python3.8/site-packages/mmengine/registry/registry.py", line 570, in build
return self.build_func(cfg, *args, **kwargs, registry=self)
File "/opt/conda/lib/python3.8/site-packages/mmengine/registry/build_functions.py", line 100, in build_from_cfg
raise KeyError(
KeyError: 'SelfSupVisualizer is not in the mmengine::visualizer registry. Please check whether the value of SelfSupVisualizer 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'

I don't know how to fix it.The enviroment as follow:
mmcv 2.0.0
mmengine 0.10.4
mmselfsup 1.0.0
torch 1.8.1+cu111
torchaudio 0.8.1
torchvision 0.9.1+cu111
cuda 11.1

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