Toybrick

Ubuntu上使用RKNN-toolkit2转换车牌识别模型报错(3568)

淮九

中级会员

积分
326
发表于 2022-6-22 10:41:15    查看: 2120|回复: 4 | [复制链接]    打印 | 显示全部楼层
成功在RK3399上运行车牌识别例程,现在想转到3568上使用rknn-toolkit2转换模型时遇到没见过的报错

Fatal: Meet unsupported operator: RandomUniformLike(name="RandomUniform__8").

回复

使用道具 举报

淮九

中级会员

积分
326
 楼主| 发表于 2022-6-22 10:41:55 | 显示全部楼层
请问一下这个是什么问题
回复

使用道具 举报

淮九

中级会员

积分
326
 楼主| 发表于 2022-6-22 10:42:29 | 显示全部楼层
Using TensorFlow backend.
W __init__: rknn-toolkit2 version: 1.3.0-11912b58
W config: 'target_platform' is None, use rk3566 as default, Please set according to the actual platform!
--> Loading model
W load_tensorflow: inputs name should be a tensor name instead of node name
W:tensorflow:From /usr/local/lib/python3.6/dist-packages/rknn/api/rknn.py:108: convert_variables_to_constants (from tensorflow.python.framework.graph_util_impl) is deprecated and will be removed in a future version.
Instructions for updating:
Use `tf.compat.v1.graph_util.convert_variables_to_constants`
W:tensorflow:From /home/nine/.local/lib/python3.6/site-packages/tensorflow/python/framework/graph_util_impl.py:270: extract_sub_graph (from tensorflow.python.framework.graph_util_impl) is deprecated and will be removed in a future version.
Instructions for updating:
Use `tf.compat.v1.graph_util.extract_sub_graph`
2022-06-22 10:40:37.996405: W tensorflow/compiler/jit/mark_for_compilation_pass.cc:1412] (One-time warning): Not using XLA:CPU for cluster because envvar TF_XLA_FLAGS=--tf_xla_cpu_global_jit was not set.  If you want XLA:CPU, either set that envvar, or use experimental_jit_scope to enable XLA:CPU.  To confirm that XLA is active, pass --vmodule=xla_compilation_cache=1 (as a proper command-line flag, not via TF_XLA_FLAGS) or set the envvar XLA_FLAGS=--xla_hlo_profile.
Scaling constant 1.000000 for dropout pattern rooted at dropout/mul is inconsistent with dropout ratio 1.000000. The pattern will not be replaced with an ONNX dropout node.
W load_tensorflow: The config.mean_values is None, zeros will be set for input 0!
W load_tensorflow: The config.std_values is None, ones will be set for input 0!
done
--> Building model
Fatal: Meet unsupported operator: RandomUniformLike(name="RandomUniform__8").
回复

使用道具 举报

jefferyzhang

版主

积分
12919
发表于 2022-6-22 10:48:16 | 显示全部楼层
这个log意思就是说RandomUniformLike 这个op硬件是不支持的
回复

使用道具 举报

淮九

中级会员

积分
326
 楼主| 发表于 2022-6-22 10:55:57 | 显示全部楼层
jefferyzhang 发表于 2022-6-22 10:48
这个log意思就是说RandomUniformLike 这个op硬件是不支持的

请问这个如何解决呢  我用的是  人工智能开发系列(2) 车牌识别开发与实现 中的模型,在RK3399上使用rknntoolkit1成功运行,现在想转RK3568使用Ubuntu下rknntoolkit2 无法转换
回复

使用道具 举报

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

本版积分规则

产品中心 购买渠道 开源社区 Wiki教程 资料下载 关于Toybrick


快速回复 返回顶部 返回列表