Skip to content

Commit

Permalink
EvalBoxes bug quick fix (nutonomy#106)
Browse files Browse the repository at this point in the history
  • Loading branch information
dh-nutonomy authored and oscar-nutonomy committed Apr 2, 2019
1 parent 99a8e5f commit d969a17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python-sdk/nuscenes/eval/detection/data_classes.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ def __eq__(self, other):
return False
ok = True
for token in self.sample_tokens:
if not len(self[token]) == len(self[token]):
if not len(self[token]) == len(other[token]):
return False
for box1, box2 in zip(self[token], other[token]):
ok = ok and box1 == box2
Expand Down

0 comments on commit d969a17

Please sign in to comment.