Error converting MobilenetSsd_v2 with conversion script

i got a warning message when i converted ssd_mobilenet_v2.pb (frozen model from TensorFlow model zoo) ( and script works very well, when i use 2_convert i got a warning)
like this
W extend FeatureExtractor/MobilenetV2/expanded_conv_7/add_142 to add will cause accuracy loss, do not extend. W extend FeatureExtractor/MobilenetV2/expanded_conv_5/add_175 to add will cause accuracy loss, do not extend.

and my network worked on vim3 .always gave the wrong result.when i searched on net ,i found this same problem(they have rockchip ,and he use Rocktoolkit)
i think its because ACUTY TOOL,this tool dont convert same connection (rockchip toolkit uses also ACUITY) i want to share with screenshot ,in here is expanded_conv2/add problem

and here is expanded_conv4/add .They affect my all result

@ahmetkemal If this error comes from the transformation tool, we can’t fix it, because this tool is not developed by us

İ know this reason for this is acuity tool. The same tool uses rockchip-neural network tool. İs it a problem for me to contact verisilicon? You know that npu tool has license problem. Would it be a problem for khadas, if verisilicon finds out that I have such a tool?I didn’t want to contact verisilicon without consulting Khadas.
Can i contact to verisilicon??

@ahmetkemal We already have a license . You can ask verisilicon . There’s no problem with that.

I want to share my experiences,
all problem should be related to ssd_mobilenet_v2_coco architecture,
i think ACUITY and NPU conversion tool cannot convert inversion this Neural Network.
The same tools (conversion script) can convert ssd_mobilenet_v1_coco and ssd_inception_v2_coco (my retraining network )
The result works great with these two networks.,

Please pay attention to the warning messages when running the last script ( script in folder conversion_scripts)
such a message indicates that the neural network will work incorrectly:
W extend FeatureExtractor/MobilenetV2/expanded_conv_5/add_175 to add will cause accuracy loss, do not extend

Try other neural networks ,and don’t waste time with retraining ssd_mobilenet_v2_coco,ssdlite_mobilenet_v2_coco
I would recommend ssd_mobilenet_v1_coco,ssd_inception_v2_coco for retraining(maybe you can use yolov2 and yolo3 i didnt use)

You can find these networks here.

And would like to share this little result with you :grinning:the screen resolution is 4k and fullHD video, you can get 15 fps in this way.
Pay attention to temperature:hot_face:
I hope it will help,Thanks.

1 Like