megvii-research/AnchorDETR

How to train one's own dataset

LL-XSJ opened this issue · 8 comments

LL-XSJ commented

How to train one's own dataset

Hi, you should prepare your own dataset in COCO dataset format, then modified the path in these lines.

LL-XSJ commented

Your data may be not right. You may try to use this script to check it.

LL-XSJ commented
LL-XSJ commented

How many rounds of training do I need to train my own dataset to converge without using the pre training weights given on the official website?

LL-XSJ commented

Excuse me, is the pre training weight you provided on the official website the pre training weight for the entire anchor delta

LL-XSJ commented

Hello, may I know how to modify the final category number of the model if I need to

Hi, the final number of categories should be greater than the largest category index. But if the training result is always 0, in most cases the problem should be caused by the data format. Maybe you can try to use your data to train other detectors to check if the data is correct.