简体   繁体   English

是否可以将对象检测模型的训练偏向 tensorflow ModelMaker 中的分类?

[英]Is it possible to bias the training of an object detection model towards classification in tensorflow ModelMaker?

I'm using Tensorflow 2 Model Maker to perform transfer training of EfficientDet-Lite (ultimately to run on a Coral EdgeTPU) and I care much more about the classification output and much less about the precision of the bounding boxes.我正在使用 Tensorflow 2 Model Maker 执行 EfficientDet-Lite 的转移训练(最终在 Coral EdgeTPU 上运行),我更关心分类输出,而不是边界框的精度。 Is there a way to modify some training parameters to improve the accuracy of the classes at the expense of the accuracy of the bounding boxes?有没有办法修改一些训练参数以牺牲边界框的准确性来提高类的准确性? Or does this not make sense?或者这没有意义?

Unfortunately, TensorFlow 2 Model Maker doesn't support such customization at this moment.不幸的是,TensorFlow 2 Model Maker 目前不支持这种自定义。

If you want to do so, you can bypass Model Maker and directly use AutoML repo .如果你想这样做,你可以绕过 Model Maker 直接使用AutoML repo The technical detail is to adjust weights for different losses by adding loss_weights in compile() function.技术细节是通过在compile()函数中添加loss_weights来调整不同损失权重

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM