Toybrick

请问大神,pb模型转rknn报错,'NoneType' object has no attribute 'ge...

877562830

注册会员

积分
70
楼主
发表于 2020-12-16 09:52:00    查看: 8990|回复: 0 | [复制链接]    打印 | 只看该作者
请问大神,pb模型转rknn报错,'NoneType' object has no attribute 'get_input_layers'是怎么回事

--> Loading model
done
--> Building model
E Model file [./pb_cnn_model/pb_two/saved_model.pb] does not exist!
Traceback (most recent call last):
  File "/home/lyb2/文档/12.13/rknn_transfer.py", line 24, in <module>
    rknn.build(do_quantization=False, dataset='./dataset.txt', pre_compile=True)
  File "/home/lyb2/.pyenv/versions/3.6.9/lib/python3.6/site-packages/rknn/api/rknn.py", line 220, in build
    inputs = self.rknn_base.net.get_input_layers()
AttributeError: 'NoneType' object has no attribute 'get_input_layers'

Process finished with exit code 1


回复

使用道具 举报

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

本版积分规则

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


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