xingyizhou / ExtremeNet

Bottom-up Object Detection by Grouping Extreme and Center Points
BSD 3-Clause "New" or "Revised" License
1.03k stars 172 forks source link

train error!!! #14

Open zhepherd opened 5 years ago

zhepherd commented 5 years ago

image

xingyizhou commented 5 years ago

Hi, can you check if the number of GPUs in your machine matches the length of batchsize list https://github.com/xingyizhou/ExtremeNet/blob/master/config/ExtremeNet.json#L22 ?

zhepherd commented 5 years ago

@xingyizhou my GPUs is 4

xingyizhou commented 5 years ago

Then you should change this line into "chunk_sizes": [4, 5, 5, 5], and change this line into "batch_size": 19, and expect a different result from the paper.

zhepherd commented 5 years ago

thx @xingyizhou

zhepherd commented 5 years ago

one more question, how to train my own data, where i need to change?

xingyizhou commented 5 years ago

Basically, you will need to generate the annotation file https://github.com/xingyizhou/ExtremeNet/blob/master/tools/gen_coco_extreme_points.py, create the data preprocessing https://github.com/xingyizhou/ExtremeNet/blob/master/db/coco_extreme.py, and change the dataset in your config file.

zhepherd commented 5 years ago

i need to generate the annotation file like [(Xt,Yt, Xb,Yb,Xl,Yl, Xr, Yr),……]?

xingyizhou commented 5 years ago

Yes.

zhepherd commented 5 years ago

i also need to change the https://github.com/xingyizhou/ExtremeNet/blob/master/sample/coco_extreme.py and train.py ?

zhepherd commented 5 years ago

if i change my own data like coco data format and have 3 class , i think this way is more easy, so i want to ask where i need to change? @xingyizhou thx for help ~