Skip to content

Commit

Permalink
changed header
Browse files Browse the repository at this point in the history
  • Loading branch information
cdpavelchek committed Jul 27, 2020
1 parent 4df3efa commit 9a63b09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deepcell_toolbox/metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -861,7 +861,7 @@ def calc_object_stats(self, y_true, y_pred):
if not self.is_3d:
if y_true.ndim not in {3, 4}:
raise ValueError('Expected dimensions for y_true (2D data) are 3 or 4.'
'Accepts: (x, y), (batch, x, y), or (batch, x, y, chan)'
'Accepts: (batch, x, y), or (batch, x, y, chan)'
'Got ndim: {}'.format(y_true.ndim))

# If 3D, inputs must have 4 dimensions (batch, z, x, y) - cannot have channel dimension or
Expand Down

0 comments on commit 9a63b09

Please sign in to comment.