Skip to content
Snippets Groups Projects
Commit 28648af0 authored by Nattapon Jaroenchai's avatar Nattapon Jaroenchai
Browse files

Update test_h5image.py

parent 76503290
No related branches found
No related tags found
No related merge requests found
......@@ -20,6 +20,8 @@ legend_resized = tf.image.resize(legend_patch, (256,256))
if legend_resized.dtype == tf.float32:
legend_resized = (legend_resized * 255).numpy().astype(np.uint8)
print(legend)
print("legend", legend, "legend_resized.shape", legend_resized.shape, "unique values", np.unique(legend_patch))
# Create figure
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment