Skip to content

Commit

Permalink
Flag name inconsistency
Browse files Browse the repository at this point in the history
  • Loading branch information
taziksh authored Aug 9, 2020
1 parent 34484d7 commit 718e1cb
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 718e1cb

Please sign in to comment.