|
root@debian10:/home/toybrick/yolov3_demo# python3 rknn_transform_tiny.py
--> Loading model
E Catch exception when loading darknet model: ./yolov3-tiny.cfg!
E Traceback (most recent call last):
E File "rknn/api/rknn_base.py", line 600, in rknn.api.rknn_base.RKNNBase.load_darknet
E File "rknn/base/RKNNlib/converter/convert_darknet.py", line 721, in rknn.base.RKNNlib.converter.convert_darknet.Converter.build_connection
E File "rknn/base/RKNNlib/RKNNnetbuilder.py", line 78, in rknn.base.RKNNlib.RKNNnetbuilder.RKNNNetBuilder.__init__
E File "rknn/base/RKNNlib/RKNN_session.py", line 19, in rknn.base.RKNNlib.RKNN_session.RKNNSession.__init__
E AttributeError: module 'tensorflow' has no attribute 'ConfigProto'
done
--> Building model
Traceback (most recent call last):
File "rknn_transform_tiny.py", line 27, in <module>
rknn.build(do_quantization=True, dataset='./dataset_416x416.txt')
File "/root/.local/lib/python3.7/site-packages/rknn/api/rknn.py", line 231, in build
inputs = self.rknn_base.net.get_input_layers()
AttributeError: 'NoneType' object has no attribute 'get_input_layers'
请问有遇到上述情况的同学吗,请大神指点一下,谢谢~
|
|