Skip to content
Snippets Groups Projects
Commit bb8912d9 authored by tomrink's avatar tomrink
Browse files

snapshot...

parent 9d89ec15
No related branches found
No related tags found
No related merge requests found
import tensorflow as tf
from util.plot_cm import confusion_matrix_values
from util.augment import augment_image
from util.augment import augment_image_3arg
from util.setup_cloud_products import logdir, modeldir, now, ancillary_path
from util.util import EarlyStop, normalize, denormalize, scale, scale2, get_grid_values_all, make_tf_callable_generator
import glob
......@@ -445,7 +445,7 @@ class SRCNN:
dataset = dataset.cache(filename=CACHE_FILE)
dataset = dataset.shuffle(PROC_BATCH_BUFFER_SIZE, reshuffle_each_iteration=True)
if DO_AUGMENT:
dataset = dataset.map(augment_image(), num_parallel_calls=8)
dataset = dataset.map(augment_image_3arg(), num_parallel_calls=8)
dataset = dataset.prefetch(buffer_size=1)
self.train_dataset = dataset
......
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