Skip to content

Commit

Permalink
add comment for posterity
Browse files Browse the repository at this point in the history
  • Loading branch information
MekWarrior committed Jan 15, 2021
1 parent 3c050d2 commit feef87b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions deepcell_tracking/tracking_test.py
Expand Up @@ -72,6 +72,7 @@ class DummyModel(object): # pylint: disable=useless-object-inheritance

def predict(self, data):
if isinstance(data, dict):
# Grab a random value from the data dict and select batch dim
batches = 0 if not data else next(iter(data.values())).shape[0]
else:
batches = next(iter(data.values())).shape[0]
Expand Down

0 comments on commit feef87b

Please sign in to comment.