|
沙发
楼主 |
发表于 2020-12-28 15:46:48
|
只看该作者
这是日志信息
--- Logging error ---
Traceback (most recent call last):
File "/usr/lib/python3.6/logging/__init__.py", line 996, in emit
stream.write(msg)
ValueError: I/O operation on closed file.
Call stack:
File "/home/zhao/test_rknn/test_rknn.py", line 40, in <module>
convert_model(model_path, output_path, pre_compile)
File "/home/zhao/test_rknn/test_rknn.py", line 23, in convert_model
ret = rknn.load_tensorflow(tf_pb=model_path, inputs=inputs, outputs=outputs, input_size_list=input_size_list)
File "/home/zhao/.local/lib/python3.6/site-packages/rknn/api/rknn.py", line 62, in load_tensorflow
std_values=std_values)
File "/home/zhao/.local/lib/python3.6/site-packages/tensorflow/python/util/deprecation_wrapper.py", line 119, in __getattr__
_call_location(), full_name, rename)
File "/home/zhao/.local/lib/python3.6/site-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: ('/home/zhao/.local/lib/python3.6/site-packages/rknn/api/rknn.py:62', 'tf.GraphDef', 'tf.compat.v1.GraphDef')
done
Process finished with exit code 0
|
|