tensorflow / models

Models and examples built with TensorFlow
Other
77.15k stars 45.77k forks source link

How to use yamnet model for microprocessor? #9713

Closed xpdrycry closed 3 years ago

xpdrycry commented 3 years ago

tensorflow provide 3 type yamnet for computer , js , lite,but not for microprocessor,can you provide yamnet model for microprocees?

dpwe commented 3 years ago

Based on the content in #961, I believe OP is looking for a tflite conversion for int8 data types, e.g.

converter.inference_input_type = tf.int8

We don't support this at present. We've run with int8 calculations internally, but the waveform input requires int16 resolution at a minimum, and a good 8-bit deployment will probably need to separate waveform preprocessing from deep net computation.

We will consider this, but we don't have any firm plans to provide it.

plakal commented 3 years ago

Duplicate of #10241