Skip to content

Commit

Permalink
Merge branch 'master' of upstream into fluid_mm_dnn
Browse files Browse the repository at this point in the history
  • Loading branch information
Yibing Liu committed Sep 14, 2018
2 parents a14d526 + 4dbe7f7 commit ea74f4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/simnet/train/paddle/paddle_simnet.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ def predict(conf_dict):
place=place, feed_list=feed_var_names, program=program)
reader = data_reader.get_reader(conf_dict, True, samples_file)
# Get batch data iterator
batch_data = paddle.batch(reader, conf_dict["batch_size"])
batch_data = paddle.batch(reader, conf_dict["batch_size"], drop_last=False)
logging.info("start test process ...")
for iter, data in enumerate(batch_data()):
output = executor.run(program, feed=feeder.feed(
Expand Down

0 comments on commit ea74f4c

Please sign in to comment.