Support for MobileNetV3-SSD from TensorFlow#16760
Conversation
|
Are setInputScale and setInputMean necessary ? |
@roccopietrini, Do you try the model from the model zoo or a custom one? Model |
|
I tried with the model zoo model (ssd_mobilenet_v3_small_coco_2020_01_14), with just transfer learning for my custom class (so I just modified some parameters about the training in the pipeline.config, without any modification to the network). I generated the pbtxt file using this: https://github.com/opencv/opencv/blob/master/samples/dnn/tf_text_graph_ssd.py |
|
@roccopietrini, maybe something has been changed in the TensorFlow Object Detection API and published model does not reflect actual training code. Do you mind to open a separate issue so we won't miss it? Please add all the details - upload a newtork if possible, add origin image and expected results. |
|
Hi, I don't think at this point that we have a bug in opencv .. so I'd better ask in stackoverflow because it's not fully clear to me weather the network include the normalization or not by default. I'll be back if I discover something .. :) |
|
Hi, using this exact code with installed: I get error: Any idea what did I miss? |
|
@boris-savic, open |
Thanks. This did move things a bit forward but seems to get stuck on another issue: |
|
@boris-savic, please use the latest version of the script or see similar issue: #17058 |
|
Bonsoir, comment télécharger le modèle MobileNet-SSD v3 ? |
Pull Request Readiness Checklist
Merge with extra: opencv/opencv_extra#725
Add support for MobileNetV3 SSD from TensorFlow Object Detection API: https://github.com/tensorflow/models/blob/master/research/object_detection/g3doc/detection_model_zoo.md#mobile-models
Follow a guide to run the model: https://github.com/opencv/opencv/wiki/TensorFlow-Object-Detection-API
NOTE: considering discussion tensorflow/models#7727, only updated models work correctly: tensorflow/models#8057
NOTE: comparing to other SSD networks, these models expect normalized inputs (
[-1, 1]input range):