CornerNet-Lite icon indicating copy to clipboard operation
CornerNet-Lite copied to clipboard

error while tarining on my new dataset which has same COCO format

Open alaa-shubbak opened this issue 3 years ago • 1 comments

I am trying to do training on my dataset which has the same format as the coco dataset , but with only one category (class) such class is one of the 80 classes in COCO datset.

I did the training on 2 GPU , so my batch_size= 2 and the chunk_size=[2] I only changed the chunk and the batch size in the config files of both CornerNet_Squeese and CornerNet_Saccade.

I did the training on both models , unfortunately, the training starts and stoped at some certain point with the following error message , the same error display while training the both models.

error in training cornernet lite

any help please will be with high benifites.

alaa-shubbak avatar Jan 12 '22 18:01 alaa-shubbak

Notice please that i did the change on the number and names of my new category in both the configuration json file and the model file (.py). so I change the number of classes from 80 to 1 in the json file change the same info in dbs> coco.py and change the number 80 into the focal loss in the model CornerNet_squeese ... but nothing change, I still face the same error.

i did the change as same as what has mentioned in this: https://github.com/huangzicheng/CornerNet-Lite

with more changing in the coco.py file

alaa-shubbak avatar Jan 12 '22 19:01 alaa-shubbak