我正在尝试从someone else's Tensorflow 1.x implementation of YoloV3创建一个tflite模型。到目前为止,我只成功将一个简单的Tensorflow 2.x模型转换为tflite模型...
[编辑]
我现在认为我无法从此yolov3
实现中编译tflite模型,因为uint8
op LeakyReLU
尚不受支持...看来tf-nightly
中可能支持不过,任何一天:
https://github.com/tensorflow/tensorflow/issues/33397
不确定是否与此相关,但是tf-nightly
版本当前会产生与this tracked issue中相同的错误:
<unknown>:0: error: failed while converting: 'main': Ops that can be supported by the flex runtime (enabled via setting the -emit-select-tf-ops flag): ResizeNearestNeighbor,ResizeNearestNeighbor.