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

snapshot...

parent 13d901ab
No related branches found
No related tags found
No related merge requests found
...@@ -20,6 +20,9 @@ def augment_image( ...@@ -20,6 +20,9 @@ def augment_image(
def augment_fn(low_resolution, high_resolution, *args, **kwargs): def augment_fn(low_resolution, high_resolution, *args, **kwargs):
# Augmenting data (~ 80%) # Augmenting data (~ 80%)
low_resolution = tf.convert_to_tensor(low_resolution)
high_resolution = tf.convert_to_tensor(high_resolution)
def augment_steps_fn(low_resolution, high_resolution): def augment_steps_fn(low_resolution, high_resolution):
# Randomly rotating image (~50%) # Randomly rotating image (~50%)
def rotate_fn(low_resolution, high_resolution): def rotate_fn(low_resolution, high_resolution):
......
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