Skip to content

Commit

Permalink
Merge pull request #10 from ZKTKZ/master
Browse files Browse the repository at this point in the history
Flag name inconsistency
  • Loading branch information
jerryli27 authored Aug 9, 2020
2 parents 34484d7 + 718e1cb commit 98feddd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion infer_from_image.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def main(_):
feed_dict={image_ph: image_np})

if FLAGS.output_cropped_image:
if FLAGS.only_output_cropped_single_person and len(result["detection_score"]) == 1:
if FLAGS.only_output_cropped_single_object and len(result["detection_score"]) == 1:
num_outputs = 1
else:
num_outputs = len(result["detection_score"])
Expand Down

0 comments on commit 98feddd

Please sign in to comment.