Detr: 500 epoch replication for Resnet 50

Created on 28 Jun 2020  路  7Comments  路  Source: facebookresearch/detr

I replicate the Resnet 50 with 2 img per GPU, 8 GPU. However, my learning curve is quite different from yours.

Screen Shot 2020-06-29 at 1 18 13 AM

needs discussion

All 7 comments

When I train models with 500 epochs, I observe overfitting.

python -m torch.distributed.launch --nproc_per_node=8 --use_env main.py \
--lr_drop 400 --epochs 500 \
--coco_path /path/to/coco

looks strange, I will try to replicate

Any progress on this? @szagoruyko

150 epochs done, still 8 days to go

@gaopengcuhk below are training logs for R50 DETR on 4 nodes (blue) vs 1 node (orange), there is indeed overfitting, but the model reached 42/62 AP - close to 4 node training. Not sure what's going on, perhaps need to adjust hyperparameters like learning rate or grad clip value, will investigate if we have bandwidth
image

@szagoruyko may i ask the batch size of 4 node training, is this log https://dl.fbaipublicfiles.com/detr/logs/detr-r50_log.txt tranined with 4 node of total batch size 64?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

riven314 picture riven314  路  5Comments

debparth picture debparth  路  7Comments

Ww-Lee picture Ww-Lee  路  8Comments

theoutsider8060 picture theoutsider8060  路  6Comments

woctezuma picture woctezuma  路  5Comments