Skip to content

Commit

Permalink
fixed TypeError
Browse files Browse the repository at this point in the history
  • Loading branch information
jjhbw committed Jul 10, 2019
1 parent 9fc1f3b commit ec1585f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Augmentor/Pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -808,7 +808,7 @@ def status(self):
if image.label_pair is not None:
label_count += 1

if len(label_count) != 0:
if label_count != 0:
label_pairs = sorted(set([x.label_pair for x in self.augmentor_images]))

print("Classes: %s" % len(label_pairs))
Expand Down

0 comments on commit ec1585f

Please sign in to comment.