Rois = n(],feed_dict=feed_dict)įile "/usr/local/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 789, in runįile "/usr/local/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 997, in _runįile "/usr/local/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1132, in _do_runįile "/usr/local/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1152, in _do_callįile "/root/chengjuntao/text-detection-ctpn/lib/networks/factory.py", line 20, in get_networkįile "/root/chengjuntao/text-detection-ctpn/lib/networks/VGGnet_test.py", line 14, in initįile "/root/chengjuntao/text-detection-ctpn/lib/networks/VGGnet_test.py", line 68, in setup ]ĭuring handling of the above exception, another exception occurred:įile "/root/chengjuntao/text-detection-ctpn/lib/fast_rcnn/test.py", line 171, in test_ctpn 14:07:03.163176: W tensorflow/core/framework/op_:1158] Unknown: KeyError: b'TEST'įile "/usr/local/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1139, in _do_callįile "/usr/local/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1121, in _run_fnįile "/usr/local/lib/python3.6/contextlib.py", line 88, in exitįile "/usr/local/lib/python3.6/site-packages/tensorflow/python/framework/errors_impl.py", line 466, in raise_exception_on_not_ok_status I try to change code from python2 to python3,but when I finish all the mistake,and run the code,it caused error below,i do not know where it come from and how to carry out it,how can i do?Thank you so much Am I right about the inputs ( Placeholder:0) and the outputs ( Placeholder_1:0) of prediction_signature.Make sure the Op and Kernel are registered in the binary running in this process. Raise 'Missing pre-trained model: failed: Not found: Op type not registered 'PyFunc' in binary running on. Saver.restore(sess, ckpt.model_checkpoint_path) ![]() Follow some tutorials of exporting model for Tensorflow Serving, I've come up below trial: cfg_from_file('ctpn/text.yml')Ĭonfig = tf.ConfigProto(allow_soft_placement=True)Ĭkpt = tf.train.get_checkpoint_state(_path)
0 Comments
Leave a Reply. |