-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MobileNetV2 #1
Comments
Ciao @EduardShaid, This project starts from a pre-trained Mobilenet model downloaded by the module keras.applications. You can find the script here: https://github.com/alessandrocapotondi/mobilenet_stmcube_ai/blob/master/keras_model/keras_mobilenet_stm_cubemx_ai.ipynb The main problem is that not all the layers are supported by By the way, at the moment I am not able to link the generated code because contrary to what About the MobileNetV2, I did test it, so I do not have so much feedbacks. Sorry. Alessandro |
The launch of the test_and_compare_models(...) function shows that the old model and the new one work differently ! It turns out that after the transformation of the model, it stops working correctly. Is it so ? and is it necessary to retrain the model ? |
Converted model was using unbounded `Activation(ReLU)` layers, while pre-trained mobilenets rely on `ReLU6`. ## Changed - Fixed Keras notebook - Updated `.h5` models - Updated CubeMX.ai project and generated files
Ciao @EduardShaid, You don't need to retrain the model. There was an issue on the conversion. I was using unbounded I fixed the model and the script on the last commit 1adeb45. Thanks, |
Yes, thank you, the example works. |
Can you give an example of your approach for MobileNetV2 ? |
Thanks for the example, but a number of questions arise:
Will such a method work correctly on an already trained MobileNet model ? After all, we violated the internal architecture of the model. Or do I need to train this model again ?
You have an example on the MobileNet model. Will your method work for MobileNetV2 ?
The text was updated successfully, but these errors were encountered: