You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "mmdetection-3.x/tools/train.py", line 133, in <module>
main()
File "mmdetection-3.x/tools/train.py", line 129, in main
runner.train()
File "C:\Users\dmvns00007\.conda\envs\openmmlab\lib\site-packages\mmengine\runner\runner.py", line 1728, in train
self._train_loop = self.build_train_loop(
File "C:\Users\dmvns00007\.conda\envs\openmmlab\lib\site-packages\mmengine\runner\runner.py", line 1520, in build_train_loop
loop = LOOPS.build(
File "C:\Users\dmvns00007\.conda\envs\openmmlab\lib\site-packages\mmengine\registry\registry.py", line 570, in build
return self.build_func(cfg, *args, **kwargs, registry=self)
File "C:\Users\dmvns00007\.conda\envs\openmmlab\lib\site-packages\mmengine\registry\build_functions.py", line 121, in build_from_cfg
obj = obj_cls(**args) # type: ignore
File "C:\Users\dmvns00007\.conda\envs\openmmlab\lib\site-packages\mmengine\runner\loops.py", line 44, in __init__
super().__init__(runner, dataloader)
File "C:\Users\dmvns00007\.conda\envs\openmmlab\lib\site-packages\mmengine\runner\base_loop.py", line 26, in __init__
self.dataloader = runner.build_dataloader(
File "C:\Users\dmvns00007\.conda\envs\openmmlab\lib\site-packages\mmengine\runner\runner.py", line 1370, in build_dataloader
dataset = DATASETS.build(dataset_cfg)
File "C:\Users\dmvns00007\.conda\envs\openmmlab\lib\site-packages\mmengine\registry\registry.py", line 570, in build
return self.build_func(cfg, *args, **kwargs, registry=self)
File "C:\Users\dmvns00007\.conda\envs\openmmlab\lib\site-packages\mmengine\registry\build_functions.py", line 121, in build_from_cfg
obj = obj_cls(**args) # type: ignore
File "c:\users\dmvns00007\mmdetection\mmdet\datasets\base_det_dataset.py", line 51, in __init__
super().__init__(*args, **kwargs)
TypeError: __init__() got an unexpected keyword argument 'img_prefix'
Please help me to solve the problem. I am just a beginner. Thank you all
The text was updated successfully, but these errors were encountered:
I train the model on my custom dataset
Here is my config file:
Here is my error:
Please help me to solve the problem. I am just a beginner. Thank you all
The text was updated successfully, but these errors were encountered: