更新时间: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