Traceback (most recent call last):


 "C:\Users\S10500\AppData\Local\Continuum\anaconda3\lib\site-packages\spyder\widgets\ipythonconsole\client.py", line 575, in show_time

elapsed_time = time.monotonic() - self.t0
TypeError: unsupported operand type(s) for -: 'float' and 'NoneType'

Traceback (most recent call last):


 "main.py", line 147, in <module>

main()


 "main.py", line 81, in main

predictor.process_file(input_filename,input_filename+'.txt')


 "/home/disk0/wangzhe23/qb_shuangta_12_128/predict.py", line 100, in process_file

np_vecs = self.predict_exe.run(fetch_list=[self.fetch_targets])


 "/home/disk0/wangzhe23/tools/python27_paddle_1.5.0/lib/python2.7/site-packages/paddle/fluid/parallel_executor.py", line 280, in run

return_numpy=return_numpy)


 "/home/disk0/wangzhe23/tools/python27_paddle_1.5.0/lib/python2.7/site-packages/paddle/fluid/executor.py", line 665, in run

return_numpy=return_numpy)


 "/home/disk0/wangzhe23/tools/python27_paddle_1.5.0/lib/python2.7/site-packages/paddle/fluid/executor.py", line 526, in _run_parallel

fetch_var_names = list(map(_to_name_str, fetch_list))


 "/home/disk0/wangzhe23/tools/python27_paddle_1.5.0/lib/python2.7/site-packages/paddle/fluid/executor.py", line 247, in _to_name_str

raise TypeError(str(var) + " should be Variable or str")
TypeError: [name: "save_infer_model/scale_0"
