mmdetection icon indicating copy to clipboard operation
mmdetection copied to clipboard

I want to know how to set Epoch and Batch_size, when I train my custom model

Open JimXu1989 opened this issue 2 years ago • 2 comments

Hi! Thanks for the great sharing! I want to know how to set Epoch and Batch_size, when I train my custom model I search all the .py file in configs related to my config python file, I did not find any word relative to "epoch" or "batch_size"

Thanks a lot!!

JimXu1989 avatar Jul 21 '22 05:07 JimXu1989

https://github.com/open-mmlab/mmdetection/blob/master/docs/en/tutorials/config.md

the main codes are in configs/base, for example:

https://github.com/open-mmlab/mmdetection/blob/56e42e72cdf516bebb676e586f408b98f854d84c/configs/base/schedules/schedule_1x.py#L11 https://github.com/open-mmlab/mmdetection/blob/56e42e72cdf516bebb676e586f408b98f854d84c/configs/base/datasets/coco_detection.py#L32

BIGWangYuDong avatar Jul 22 '22 01:07 BIGWangYuDong

https://github.com/open-mmlab/mmdetection/blob/master/docs/en/tutorials/config.md

the main codes are in configs/base, for example:

https://github.com/open-mmlab/mmdetection/blob/56e42e72cdf516bebb676e586f408b98f854d84c/configs/base/schedules/schedule_1x.py#L11

https://github.com/open-mmlab/mmdetection/blob/56e42e72cdf516bebb676e586f408b98f854d84c/configs/base/datasets/coco_detection.py#L32

Thanks

JimXu1989 avatar Aug 02 '22 08:08 JimXu1989