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

train simclr on cumstom dataset #752

Open
alaa-shubbak opened this issue Apr 22, 2023 · 2 comments
Open

train simclr on cumstom dataset #752

alaa-shubbak opened this issue Apr 22, 2023 · 2 comments
Assignees

Comments

@alaa-shubbak
Copy link

Checklist

  1. I have searched related issues but cannot get the expected help.yes
  2. I have read the FAQ documentation but cannot get the expected help.yse

i want to train the model simclr on my own custom dataset.
my dataset contains of two directory:
images
annotation as meta data , only image name and class

I ran this command in linux terminal :
bash tools/dist_train.sh configs/selfsup/simclr/simclr_resnet50_8xb32-coslr-200e_ACID.py 1 --work-dir work_dirs/simclr_resnet50_acid/

and got this error :
RuntimeError: Address already in use

then i ran this command :
python tools/train.py configs/selfsup/simclr/simclr_resnet50_8xb32-coslr-200e_ACID.py --work-dir work_dirs/simclr_resnet50_acid/

error was:
KeyError: 'SelfSupVisualizer is not in the 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'
as seen in this picture :
image

`any help please.

@alaa-shubbak
Copy link
Author

is it fine if i have the mmcv version of 2.0.0 not 2.0.0rc1?
what about the version of mmcls , mmdet , mmseg and mmpose?

@alaa-shubbak
Copy link
Author

I try the config with densecl , unfortunately i got the same error message.
'SelfSupVisualizer' is only mentioned in the default_runtime.py .

would it be fine if i remove it , comment the line num 23 and 24 in this config file? or what shall i do?

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