Tensorflowで組んだ学習モデルをe-AIトランスレータで変換をかけた結果、
トランスレータに失敗してしまいます。
logの内容は以下の通りです。
[2021-08-17 15:54:45,750 INFO tftranslate_utils.py:1218 - check_for_input_shape() ] The input shape used in the tensorflow model is [1, 1, 4000, 1][2021-08-17 15:54:45,757 INFO network_decoder_tensorflow.py:364 - generate_network() ] The tensorflow frozen model is decoded..[2021-08-17 15:54:49,596 INFO weights_generator_tensorflow.py:602 - generate_weights_and_biases() ] The tensorflow frozen model is read and the layer-wise weights and biases are stored in 'E:\e2studio\workspace_20210810\norti_rzt1\src\Translator\weights.h' .[2021-08-17 15:54:53,003 INFO code_generator.py:1450 - <module>() ] Currently running version: v160[2021-08-17 15:54:53,160 ERROR requirements.py:183 - log_exception() ] eAI-501 : Uncaught ExceptionAn unhandled exception has caused this script to terminate prematurely. Here are the details :
略
[2021-08-17 15:54:53,161 INFO requirements.py:184 - log_exception() ] Translation FAILED!![2021-08-17 15:54:53,162 INFO requirements.py:155 - remove_object() ] Uninitializing and cleaning up the translator object..
【使用環境】 e2studio(v6.3.0)+ e-AIトランスレータ v1.6.0
【Tensorflow】 v.1.14.0
なにかエラーログの内容からお気づきの点があれば、アドバイスいただけると幸いです。
ちなみに、サンプルとして提示されている下記のパイソンコードでは正常にトランスレートすることが出来ました。
(環境はすべて同じです)
gadget.renesas.com/.../mnist_tutorial.html→ページ内の「mnist_softmax_for_e-ai.py」
よろしくお願いします。
dartsmanさま
ご確認ありがとうございます。ログファイル全体を添付させていただきました。15:54から開始されているのが今回の失敗に関するログです。
その続きで、16:08から開始されるログもあるかと思います。それはサンプルのMNITSのモデルをトランスレートした際の成功時のログになります。
Dartsmanさん
詳細なご説明ありがとうございます。
バージョン移行時には注意させていただきます。
この度は早急はご対応本当にありがとうございました。非常に助かりました。
また今後、何か困り事に直面した際にはどうかよろしくお願いいたします。