feat: closes #23
This commit is contained in:
@@ -34,7 +34,7 @@ def pathToLabel(path):
|
||||
def decode_image(img):
|
||||
# channels were reduced to 1 since image is grayscale
|
||||
# TODO chnage channel number based if grayscale
|
||||
img = tf.io.decode_png(img, channels=1)
|
||||
img = tf.io.decode_png(img, channels=3)
|
||||
|
||||
return tf.image.resize(img, image_size)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user