Toybrick

楼主: troy

人工智能开发系列(1) 中文手势识别例程

ai开发者

注册会员

积分
64
发表于 2021-11-6 10:26:03 | 显示全部楼层
E Traceback (most recent call last):
E   File "rknn\base\RKNNlib\converter\convert_tf.py", line 1179, in rknn.base.RKNNlib.converter.convert_tf.convert_tf.match_paragraph_and_param
E   File "rknn\base\RKNNlib\RKNNnet.py", line 214, in rknn.base.RKNNlib.RKNNnet.RKNNNet.new_layer
E   File "rknn\api\rknn_log.py", line 312, in rknn.api.rknn_log.RKNNLog.e
E ValueError: Unknow layer "randomuniform"
E During handling of the above exception, another exception occurred:
E Traceback (most recent call last):
E   File "rknn\api\rknn_base.py", line 231, in rknn.api.rknn_base.RKNNBase.load_tensorflow
E   File "rknn\base\RKNNlib\RK_nn.py", line 51, in rknn.base.RKNNlib.RK_nn.RKnn.load_tensorflow
E   File "rknn\base\RKNNlib\app\importer\import_tensorflow.py", line 205, in rknn.base.RKNNlib.app.importer.import_tensorflow.Importensorflow.run
E   File "rknn\base\RKNNlib\converter\convert_tf.py", line 1278, in rknn.base.RKNNlib.converter.convert_tf.convert_tf.match_paragraph_and_param
E   File "rknn\api\rknn_log.py", line 312, in rknn.api.rknn_log.RKNNLog.e
E ValueError: Try match RandomUniform dropout/random_uniform/RandomUniform failed, catch exception!
Traceback (most recent call last):
  File "G:/git_projects/CarLicense/rknn_test/rknn_transfer.py", line 33, in <module>
    transfer('../train-saver/digits/lpr_predict.pb', './lpr_digits_predict.rknn')
  File "G:/git_projects/CarLicense/rknn_test/rknn_transfer.py", line 23, in transfer
    rknn.build(do_quantization=False)
  File "D:\anaconda3\envs\tensorflow\lib\site-packages\rknn\api\rknn.py", line 241, in build
    inputs = self.rknn_base.net.get_input_layers()
AttributeError: 'NoneType' object has no attribute 'get_input_layers'
我遇到了上面的错误,请问能指导解决一下吗
回复

使用道具 举报

troy

版主

积分
1996
 楼主| 发表于 2021-11-15 08:38:22 | 显示全部楼层
ai开发者 发表于 2021-11-6 10:26
E Traceback (most recent call last):
E   File "rknn\base\RKNNlib\converter\convert_tf.py", line 1179 ...

这个demo是19年刚出来时演示用的,已经不匹配现在的rknn版本的,需要自行修改。
回复

使用道具 举报

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

本版积分规则

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


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