Update transforms.py
Browse files- transforms.py +2 -1
transforms.py
CHANGED
@@ -168,4 +168,5 @@ def _to_rgb(thing, name="input"):
|
|
168 |
assert thing.shape == (3, ), (
|
169 |
"Expected %r to be a length-3 array-like object, but found shape %s" %
|
170 |
(name, thing.shape))
|
171 |
-
return thing
|
|
|
|
168 |
assert thing.shape == (3, ), (
|
169 |
"Expected %r to be a length-3 array-like object, but found shape %s" %
|
170 |
(name, thing.shape))
|
171 |
+
return thing
|
172 |
+
|