Toybrick
标题:
python将caffemodel转换为rknn过程中报错
[打印本页]
作者:
hzdxs
时间:
2020-6-11 16:38
标题:
python将caffemodel转换为rknn过程中报错
--- Logging error ---
Traceback (most recent call last):
File "/usr/lib/python3.5/logging/__init__.py", line 982, in emit
stream.write(msg)
ValueError: I/O operation on closed file.
Call stack:
File "gen_rknn.py", line 14, in <module>
ret = rknn.build(do_quantization=True, dataset='./dataset.txt')
File "/usr/local/lib/python3.5/dist-packages/rknn/api/rknn.py", line 157, in build
ret = self.rknn_base.build(do_quantization=do_quantization, dataset=dataset, pack_vdata=pre_compile)
File "/usr/local/lib/python3.5/dist-packages/rknn/base/RKNNlib/app/tensorzone/tensorprovider.py", line 147, in init_session
self.queue_task = QueueTask(sess, self.data, feed, image_tensor, image_shape)
File "/usr/local/lib/python3.5/dist-packages/rknn/base/RKNNlib/app/tensorzone/tensorprovider.py", line 27, in __init__
self.__init_queue(min(512,len(data)), image_tensor, image_shape)
File "/usr/local/lib/python3.5/dist-packages/rknn/base/RKNNlib/app/tensorzone/tensorprovider.py", line 46, in __init_queue
queue = tf.FIFOQueue(capacity = capacity,
File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/util/deprecation_wrapper.py", line 119, in __getattr__
_call_location(), full_name, rename)
File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/platform/tf_logging.py", line 166, in warning
get_logger().warning(msg, *args, **kwargs)
Message: 'From %s: The name %s is deprecated. Please use %s instead.\n'
Arguments: ('/usr/local/lib/python3.5/dist-packages/rknn/base/RKNNlib/app/tensorzone/tensorprovider.py:46', 'tf.FIFOQueue', 'tf.queue.FIFOQueue')
作者:
hzdxs
时间:
2020-6-12 10:22
附件是转换日志以及rknn
欢迎光临 Toybrick (https://t.rock-chips.com/)
Powered by Discuz! X3.3