简体   繁体   English

对象检测tensorflow api中的ssd mobilenet v1可以尝试使用不同于默认值的调整大小形状吗?

[英]Can ssd mobilenet v1 in object detection tensorflow api be tried with different resize shapes than the default ones?

In ssd_mobilenet_v1_coco.config the image_resizer default size is 300x300, or 512x512. 在ssd_mobilenet_v1_coco.config中,image_resizer的默认大小为300x300或512x512。 State of art results are available for the options only. 现状结果仅适用于选项。

But resizing to smaller sizes leads to information loss, can ssd mobilenet be tried with say size 720x720? 但是调整到较小的尺寸会导致信息丢失,ssd mobilenet可以尝试使用720x720的尺寸吗?

Config file: https://github.com/tensorflow/models/blob/master/research/object_detection/samples/configs/ssd_mobilenet_v1_coco.config 配置文件: https//github.com/tensorflow/models/blob/master/research/object_detection/samples/configs/ssd_mobilenet_v1_coco.config

It depends whether you're asking about training or inference. 这取决于您是否询问培训或推理。

If your goal is to detect objects using a pre-trained model, then it is not recommended to change the resizing parameters, as the model is tuned to work best of these. 如果您的目标是使用预先训练的模型检测对象,则不建议更改调整大小参数,因为模型已调整为最佳。

However, if you wish to train the model, then yes, you can modify them. 但是,如果您希望训练模型,那么是的,您可以修改它们。 However, be aware that changing these values non-marginally would also require you to change the architecture and/or anchor configuration a bit, depending on the objects' sizes you wish to detect. 但是,请注意,非边缘地更改这些值还需要您稍微更改架构和/或锚点配置,具体取决于您要检测的对象大小。 For example, if you're using larger input resolution, than I would recommend adding SSD layers ( this is the original configuration, with 6 feature maps with stride of 8, 16, 32, 64, 128 and 256) and changing anchor scales ( this is the original, with 6 layers and linear scales in the range of 0.2-0.95 of the image input size). 例如,如果你使用更大的输入分辨率,那么我建议添加SSD图层( 是原始配置,有6个特征图,步幅为8,16,32,64,128和256)并且更改锚点尺度( 是原始的,具有6层和线性刻度,在图像输入尺寸的0.2-0.95范围内)。

暂无
暂无

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

相关问题 model_main.py 无法训练 mobilenet ssd v2 - tensorflow object 检测 api - model_main.py fails to traing mobilenet ssd v2 - tensorflow object detection api Object 检测 1080p 与 SSD Mobilenet (Tensorflow API) - Object detection in 1080p with SSD Mobilenet (Tensorflow API) 如何在 google colab tensorflow 1.15.2 上训练自定义对象检测模型 ssd_mobilenet_v1_coco 和 ssd_inception_v2_coco? - how to train a custom object detection model ssd_mobilenet_v1_coco and ssd_inception_v2_coco on google colab tensorflow 1.15.2? Tensorflow 对象检测 API 错误:ValueError:不支持 ssd_mobil.net_v2 - Tensorflow Objct detection API error: ValueError: ssd_mobilenet_v2 is not supported 使用Tensorflow对象检测API改变/波动SSD Mobilenet训练损失 - Varying/Fluctuating SSD Mobilenet Training loss using tensorflow object detection API 使用 Tensorflow 对象检测 API 导出没有 NMS 和边界框解码逻辑的 TFlite ssd-mobilenet - Export TFlite ssd-mobilenet without NMS and with bounding boxes decoding logic using Tensorflow Object Detection API 无法使用 TensorFlow Object 检测 API 以更大的输入分辨率训练 SSD Inception-V2 - Can't Train SSD Inception-V2 with Larger Input Resolution with TensorFlow Object Detection API Tensorflow 的 pb 和 pbtxt 文件在重新训练 MobileNet SSD V1 COCO 后不适用于 OpenCV - Tensorflow' pb and pbtxt files don't work with OpenCV after retraining MobileNet SSD V1 COCO 如何将 ssd_mobilenet_v1_COCO_2017_11_17 加载到本地的 object_detection_webcam? - How can I load the ssd_mobilenet_v1_COCO_2017_11_17 to the object_detection_webcam locally? ssd mobilenet v1:更改功能 map 布局 - ssd mobilenet v1: change feature map layout
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM