在 2020.3 OpenVINO™工具組轉換 TensorFlow* 型號 2.4.1 時遇到錯誤
內容類型: 相容性 | 文章 ID: 000089086 | 最近查看日期: 2022 年 02 月 03 日
無法轉換未凍結的 TensorFlow 型號 2.4.1 與 OpenVINO™ Toolkit 2020.3:
python3 mo_tf.py --input_model .pb
收到錯誤:
[ ERROR ] Exception occurred during running replacer "REPLACEMENT_ID" (): Unexpected exception happened during extracting attributes for node Adam/dense_11/bias/v/Read/ReadVariableOp.
Original exception message: 'ascii' codec can't decode byte 0xcc in position 1: ordinal not in range(128)
TensorFlow 2.x 模型從 2020 年 OpenVINO™工具組 2020.4 開始受到支援。
升級 至 OpenVINO™ Toolkit 2020.4 或更新版本。
TensorFlow 2.x 正式支援兩種型號格式:SavedModel 和 Keras H5 (或 HDF5)