Zero loss_box_reg
See original GitHub issueHello,
I am trying to train on my custom dataset (only one class, one bbox per image, no segmentation). My goal is to predict the correct class and the bbox after training. I followed the tutorial of detectron2 but I see a difference when I train: the loss_box_reg is always 0. Also, the prediction after training works
For example: total_loss: 0.850 loss_cls: 0.848 loss_box_reg: 0.000 loss_mask: 0.000 loss_rpn_cls: 0.002 loss_rpn_loc: 0.000
Do you have an idea why it is so?
Issue Analytics
- State:
- Created 4 years ago
- Comments:5
Top Results From Across the Web
What is loss_cls and loss_bbox and why are they always zero ...
loss_cls : a loss that measures the correctness of the classification of each predicted bounding box: each box may contain an object class,...
Read more >Rpn_box_reg loss is nan - PyTorch Forums
In my experience nans appear when you have high values in your gradients or if you are doing a mathematically undefined operation (e.g...
Read more >Traffic Sign Detection with Faster R-CNN - Kaggle
Explore and run machine learning code with Kaggle Notebooks | Using data from GTSDB - German Traffic Sign Detection Benchmark.
Read more >ZERO
EH&S Software. Organized by Team. Communicated from Anywhere. ZERO® mitigates preventable accidents & illnesses by bringing together OSHA Compliance, ...
Read more >arXiv:1901.03353v1 [cs.CV] 10 Jan 2019
Thus, no anchor box can be matched to those ac- ... is a sum of the three losses: LossboxCls + LossboxReg +. Lossmask....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
In my case, this results occurred when my annotations have it’s
category_id
property which starts from 1, not 0. Maybe you should check this out.You can find the documentation about this dataset property here.
I remove empty “segmentation” value in coco format json file,then it goes right now