Yet-another-efficientdet-pytorch: Table Detection

Created on 10 Apr 2020  ·  10Comments  ·  Source: zylo117/Yet-Another-EfficientDet-Pytorch

感谢作者优秀的工作!
我在使用该实现做table detection表格检测,第66个epoch val_loss降低至0.23,但是预测时并不能取得很好的效果,作者有什么好的建议吗,感谢!

All 10 comments

can you run coco_eval.py and share the result?
how did you train the model? head_only or all layers?

If the result is bad, it's very possible that ratio of your groundtruth boxes greatly differs from the anchors ratio.

btw, loss being low doesn't mean the training is good. It could be the anchors are hard to match your gt boxes, so lots of gt boxes have been filtered, then there is no loss at all.

can you run coco_eval.py and share the result?
how did you train the model? head_only or all layers?

If the result is bad, it's very possible that ratio of your groundtruth boxes greatly differs from the anchors ratio.

I've already run coco_eval.py and set iou_shresh=0.5, the ap is so low..
企业微信截图_c20228cc-a955-4297-894e-78dea2f8f085
and I trained the model all layers with no resume weights

can you run coco_eval.py and share the result?
how did you train the model? head_only or all layers?
If the result is bad, it's very possible that ratio of your groundtruth boxes greatly differs from the anchors ratio.

I've already run coco_eval.py and set iou_shresh=0.5, the ap is so low..
企业微信截图_c20228cc-a955-4297-894e-78dea2f8f085
and I trained the model all layers with no resume weights

Then that's what I mentioned earlier, the loss is fake, because you used a inappropriate anchors.

Please pull the latest code and change anchor scales and ratios following the instruction.

can you run coco_eval.py and share the result?
how did you train the model? head_only or all layers?
If the result is bad, it's very possible that ratio of your groundtruth boxes greatly differs from the anchors ratio.

I've already run coco_eval.py and set iou_shresh=0.5, the ap is so low..
企业微信截图_c20228cc-a955-4297-894e-78dea2f8f085
and I trained the model all layers with no resume weights

Then that's what I mentioned earlier, the loss is fake, because you used a inappropriate anchors.

Please pull the latest code and change anchor scales and ratios following the instruction.

I'll do this. Thank you!

@lzneu 我在自己的数据集上也遇到了同样的问题,loss很低但是AP也很低,几乎为0。请问你的问题解决了么?是否是anchor设置的问题导致的?

@lzneu 我在自己的数据集上也遇到了同样的问题,loss很低但是AP也很低,几乎为0。请问你的问题解决了么?是否是anchor设置的问题导致的?

Not yet. I turned to segmention model.

There was a unfixed bug when you created this issue, but it's fixed by now.

Segmentation models usually perform worse than detection model at bbox regression

Segmentation models usually perform worse than detection model at bbox regression

That‘s Great! I'll try it this weekend.

There was a unfixed bug when you created this issue, but it's fixed by now.

Segmentation models usually perform worse than detection model at bbox regression

When I pulled the lastest code and changed the anchor params, I've trained a custom model, the AP0.5=0.782 in my own dataset. Your work is great!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

you-old picture you-old  ·  4Comments

chunleiml picture chunleiml  ·  5Comments

HaolyShiit picture HaolyShiit  ·  5Comments

qtw1998 picture qtw1998  ·  3Comments

tdn670000 picture tdn670000  ·  10Comments