diff --git a/fluid/ocr_recognition/infer.py b/fluid/ocr_recognition/infer.py index 5ba77ced81c2802d372c348520d002f4e5b3452e..6a28314dc3abf551ef016a4f61e973643d000b2b 100755 --- a/fluid/ocr_recognition/infer.py +++ b/fluid/ocr_recognition/infer.py @@ -79,7 +79,7 @@ def inference(args): batch_times = [] iters = 0 for data in infer_reader(): - feed_dict = get_feeder_data(data, place) + feed_dict = get_feeder_data(data, place, need_label=False) if args.iterations > 0 and iters == args.iterations + args.skip_batch_num: break if iters < args.skip_batch_num: