Skip to content

Commit

Permalink
avoid normalizing tiled data before preprocess_input
Browse files Browse the repository at this point in the history
  • Loading branch information
taxe10 committed Feb 24, 2024
1 parent 721c208 commit 323b17d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/helper_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def parse_tiled(uri, log=False):
image = np.log1p(np.array(image))
image = (((image - np.min(image)) / (np.max(image) - np.min(image)))* 255).astype(np.uint8)
image = Image.fromarray(image)
image = tf.cast(image, tf.float32) / 255.0
# image = tf.cast(image, tf.float32) / 255.0
return image


Expand Down

0 comments on commit 323b17d

Please sign in to comment.