2021-7-16 17:58:57 [显示全部楼层]
2140浏览
查看: 2140|回复: 1

[问题求助] 官方yolo2训练完不输出zip文件

[复制链接]
在我训练完模型后,无法在out文件夹中输出zip文件,请各位大神看看,错误信息如下:
  1. <unknown>:0: error: loc(callsite("FusedBatchNormV3@mobilenet_0.75_224_conv_pw_13_bn_cond_false_frozen_38185" at callsite("mobilenet_0.75_224/conv_pw_13_bn/cond"("/home/eric/.local/lib/python3.8/site-packages/tensorflow/python/keras/saving/hdf5_format.py":180:0) at callsite("/home/eric/.local/lib/python3.8/site-packages/tensorflow/python/keras/saving/save.py":201:0 at callsite("/home/eric/.local/lib/python3.8/site-packages/tensorflow/lite/python/lite.py":1726:0 at callsite("/home/eric/.local/lib/python3.8/site-packages/tensorflow/lite/python/lite.py":2207:0 at callsite("/mnt/d/vscode_py/maix_train/train/detector/yolo/backend/utils/fit.py":80:0 at callsite("/mnt/d/vscode_py/maix_train/train/detector/yolo/backend/utils/fit.py":56:0 at callsite("/mnt/d/vscode_py/maix_train/train/detector/yolo/frontend.py":145:0 at callsite("/mnt/d/vscode_py/maix_train/train/detector/__init__.py":200:0 at callsite("/mnt/d/vscode_py/maix_train/train/__init__.py":272:0 at "/mnt/d/vscode_py/maix_train/train/__init__.py":131:0))))))))))): 'tf.FusedBatchNormV3' op is neither a custom op nor a flex op
  2. /home/eric/.local/lib/python3.8/site-packages/tensorflow/python/keras/saving/hdf5_format.py:180:0: note: called from/home/eric/.local/lib/python3.8/site-packages/tensorflow/python/keras/saving/save.py:201:0: note: called from
  3. /home/eric/.local/lib/python3.8/site-packages/tensorflow/lite/python/lite.py:1726:0: note: called from
  4. /home/eric/.local/lib/python3.8/site-packages/tensorflow/lite/python/lite.py:2207:0: note: called from
  5. /mnt/d/vscode_py/maix_train/train/detector/yolo/backend/utils/fit.py:80:0: note: called from
  6. /mnt/d/vscode_py/maix_train/train/detector/yolo/backend/utils/fit.py:56:0: note: called from
  7. /mnt/d/vscode_py/maix_train/train/detector/yolo/frontend.py:145:0: note: called from
  8. /mnt/d/vscode_py/maix_train/train/detector/__init__.py:200:0: note: called from
  9. /mnt/d/vscode_py/maix_train/train/__init__.py:272:0: note: called from
  10. /mnt/d/vscode_py/maix_train/train/__init__.py:131:0: note: called from
复制代码


Ericius  学徒
 楼主|

发表于 2021-7-16 18:00:02

最后还有一句
  1. <unknown>:0: error: failed while converting: 'main':
  2. Some ops are not supported by the native TFLite runtime, you can enable TF kernels fallback using TF Select. See instructions:
  3.          
  4.             https://www.tensorflow.org/lite/guide/ops_select
  5.          
  6.         
  7. TF Select ops: FusedBatchNormV3
  8. Details:
  9.         tf.FusedBatchNormV3 {data_format = "NHWC", device = "", epsilon = 1.000000e-03 : f32, exponential_avg_factor = 1.000000e+00 : f32, is_training = false}
复制代码
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

为本项目制作心愿单
购买心愿单
心愿单 编辑
[[wsData.name]]

硬件清单

  • [[d.name]]
btnicon
我也要做!
点击进入购买页面
关于楼主
上海智位机器人股份有限公司 沪ICP备09038501号-4

© 2013-2024 Comsenz Inc. Powered by Discuz! X3.4 Licensed

mail