Skip to content

Commit

Permalink
Assertion no longer makes sense for N-dim image inputs.
Browse files Browse the repository at this point in the history
  • Loading branch information
raghakot committed May 11, 2017
1 parent cd803a1 commit 1d366cd
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion vis/utils/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,6 @@ class _BackendAgnosticImageSlice(object):
def __getitem__(self, item_slice):
"""Assuming a slice for shape `(samples, channels, image_dims...)`
"""
assert len(item_slice) == 4
if K.image_data_format() == 'channels_first':
return item_slice
else:
Expand Down

0 comments on commit 1d366cd

Please sign in to comment.