Skip to content

Commit

Permalink
Change image size
Browse files Browse the repository at this point in the history
  • Loading branch information
CihanSoylu committed Apr 2, 2020
1 parent 77db41c commit 84d2e5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion project_utils/project_5_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def load_cats_dogs():
dataset = tfds.load('cats_vs_dogs', split = 'train', shuffle_files=True)

def resize(item):
return tf.image.resize(item['image'], (224,224)), item['label']
return tf.image.resize(item['image'], (160,160)), item['label']

dataset = dataset.map(resize)

Expand Down

0 comments on commit 84d2e5b

Please sign in to comment.