且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

尝试将TensorFlow保存模型转换为TensorFlow.js模型时出错

更新时间:2021-08-23 03:45:42

你可以尝试这个,我认为这将有效。只需在代码中输入您的输入格式。

You can try this and I think this will work. Just input your input format in code.

tensorflowjs_converter --input_format keras \
                       path/to/my_model.h5 \
                       path/to/tfjs_target_dir