-
Hello, I have two datasets with the same classes. I would like to train a model by moco-v2 by using these two datasets together.
But I found the error below. I can do multiple datasets training in mmdet in this way, but failed in mmselfsup. I don't want to combine two dataset into one folder. Could you help how to train multiple datasets in mmselfsup? Error message:
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Hi, you can use You can try in config data = dict(
samples_per_gpu=32,
workers_per_gpu=4,
train=[dict(type=dataset_type, ...), dict(type=dataset_type, ...)]) |
Beta Was this translation helpful? Give feedback.
-
Hello @fangyixiao18, I try
Below is my data config file.
I add Do you have any better solution? |
Beta Was this translation helpful? Give feedback.
-
My final solution: Thanks a lot. |
Beta Was this translation helpful? Give feedback.
My final solution:
Add self.CLASSES = self.data_source.CLASSES into the init() of MultiViewDataset, and it works.
Thanks a lot.