Update README.md
Browse files
README.md
CHANGED
@@ -59,7 +59,6 @@ def add_noise(img, noise_type="gaussian"):
|
|
59 |
return np.clip(noisy_img, 0., 1.)
|
60 |
|
61 |
def predict_denoised_image(autoencoder, image):
|
62 |
-
# Preprocesar imagen (redimensionar a 256x256, normalizar a [0, 1])
|
63 |
img_resized = tf.image.resize(image, (256, 256)) / 255.0
|
64 |
img_array = np.expand_dims(img_resized, axis=0)
|
65 |
|
|
|
59 |
return np.clip(noisy_img, 0., 1.)
|
60 |
|
61 |
def predict_denoised_image(autoencoder, image):
|
|
|
62 |
img_resized = tf.image.resize(image, (256, 256)) / 255.0
|
63 |
img_array = np.expand_dims(img_resized, axis=0)
|
64 |
|