Skip to content

Create tflite model for object detection for custom dataset #152

Answered by Corallo
param-esec asked this question in General
Discussion options

You must be logged in to vote

Hello @param-esec

Yes, you can train your own object detection. The only takeaway that you need from the TensorFlow to Larod Example is the function that shows how you can quantize the model and fine-tune. You can replace the rest (model architecture and dataset) with your own.

Artpec8 DLPU supports quantization by tensor, that is only possible on TF1.
Unfortunately, this means you won't be able to train it on Colab anymore without TF1. You'll have to use either another service like AWS or train on your own GPU.

You could ignore this guideline and deploy on the device a model quantized with TF2, but you will have performance that is from 2 to 30 times worse in speed and in some cases lose…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@param-esec
Comment options

Answer selected by marbali8
Comment options

You must be logged in to vote
1 reply
@Corallo
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants