-
Notifications
You must be signed in to change notification settings - Fork 64
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
When i train with your config,i encounter a problem #13
Comments
We changed the default dataloader and added some new parameters. Just copying the configuration file is not enough. You also need to change the corresponding dataloader. |
Thanks for your reply,I am a new guy for OB,you mean I need change dataloader of torch.utils.data? |
Not the torch.utils.dataloader. Did you use a custom dataset? In the ./mmdet/datasets/coco.py or any other dataset? My configs needs to be used with ./mmdet/datasets/coco_r2.py. |
I use the dataset like coco,in the ./mmdet/datasets/coco.py.Which
dataloader file should i change if i use coco dataset Or the config file must match coco_r2 ?Thanks !
cizhenshi <[email protected]> 于2020年4月20日周一 下午3:13写道:
… Not the torch.utils.dataloader. Did you use a custom dataset? In the
./mmdet/datasets/coco.py or any other dataset? My configs needs to be used
with ./mmdet/datasets/coco_r2.py.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#13 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/APBQXL62PIOQ5URSYSB6KL3RNPYY7ANCNFSM4MMFT3UQ>
.
|
If you want to use the other settings in the configs except dataset, you need to change the 171-line dataset_type = 'CocopairDataset_r2' in the config file. You can refer to some of the default configuration files in mmdetection. |
OK,i figured it out.
Best wishes!
cizhenshi <[email protected]> 于2020年4月20日周一 下午4:20写道:
… If you want to use the other settings in the configs except dataset, you
need to change the 171-line dataset_type = 'CocopairDataset_r2' in the
config file. You can refer to some of the default configuration files in
mmdetection.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#13 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/APBQXLYTY2RPBNRR3BRWV2DRNQAWDANCNFSM4MMFT3UQ>
.
|
When i train with your config,i encounter a problem,it is :
Traceback (most recent call last):
File "src/tools/train.py", line 108, in
main()
File "src/tools/train.py", line 86, in main
datasets = [build_dataset(cfg.data.train)]
File "/cache/user-job-dir/codes/mmdetection/src/mmdet/datasets/builder.py", line 39, in build_dataset
dataset = build_from_cfg(cfg, DATASETS, default_args)
File "/cache/user-job-dir/codes/mmdetection/src/mmdet/utils/registry.py", line 76, in build_from_cfg
return obj_cls(**args)
TypeError: init() got an unexpected keyword argument 'normal'
How can i solve this problem?Thanks
The text was updated successfully, but these errors were encountered: