feature/load-dataset #2

Merged
s495733 merged 7 commits from feature/load-dataset into main 2024-05-05 19:42:12 +02:00
Showing only changes of commit b7ca0fae45 - Show all commits

View File

@ -54,7 +54,7 @@ class Dataset:
def _get_image(self, image_path):
img = tf.io.read_file(image_path)
img = tf.io.decode_jpeg(img, channels=3) / 255
img = tf.io.decode_jpeg(img, channels=3) / 255.
return tf.cast(img, dtype=tf.float32, name=None)
def _preprocess(self, image_path):