ask for more information about loss when training on COCO 2017
Hello, I have run the training process on COCO 2017 based on efficientdet-d0, and get the loss curve as following. However, when I use the training model to infer demo pic, nothing is plotted. I notice that the bbox score is too low(about 0.0002). So I wonder something wrong in my training.
I just started the training on GPU with a very small learning rate. With the default LR, it was failing with NaN. I am failing to see the logs directory generated. Will wait for sometime.
Where does your logs directory exists for tensorboard to look for?
I just started the training on GPU with a very small learning rate. With the default LR, it was failing with NaN. I am failing to see the logs directory generated. Will wait for sometime.
Where does your logs directory exists for tensorboard to look for?
In the model_dir
Hello, I have run the training process on COCO 2017 based on efficientdet-d0, and get the loss curve as following. However, when I use the training model to infer demo pic, nothing is plotted. I notice that the bbox score is too low(about 0.0002). So I wonder something wrong in my training.
![]()
Why l2 loss so large?
@Alex220284, I believe you've managed to solve your training problem and closed the issue - that's great. Would you be kind enough to share your solution?
@Alex220284, I believe you've managed to solve your training problem and closed the issue - that's great. Would you be kind enough to share your solution?
I have made a mistake on creating the training tfrecord by setting the param "caption_annotations_file" to "captions_train2017.json". In fact, Since I rectify the command to set param "object_annotations_file" to "instances_train2017.json", all things go as expected. Hope this is helpful to you.
And what are your hyperparameters? My training just won't converge even with quite small learning rate.
when i run train code, meet a problem as follows: /efficientdet# python main.py --training_file_pattern=tfrecord/train* --model_name=$MODEL --model_dir=model/$MODEL --hparams="use_bfloat16=false" --use_tpu=False
tensorflow.python.training.basic_session_run_hooks.NanLossDuringTrainingError: NaN loss during training. I decrease the learning rate from 0.08---> 0.01, and the same error. Thanks.