"vscode:/vscode.git/clone" did not exist on "0dd1186d7492c46a3f060107e78c0d902528679d"
Commit 31021959 authored by Priya Gupta's avatar Priya Gupta
Browse files

Add keras resnet code

parent 2d9d7943
......@@ -160,7 +160,7 @@ def parse_record(raw_record, is_training, dtype):
def input_fn(is_training, data_dir, batch_size, num_epochs=1,
dtype=tf.float32, datasets_num_private_threads=None,
num_parallel_batches=1):
num_parallel_batches=1, parse_record_fn=parse_record):
"""Input function which provides batches for train or eval.
Args:
......@@ -195,7 +195,7 @@ def input_fn(is_training, data_dir, batch_size, num_epochs=1,
is_training=is_training,
batch_size=batch_size,
shuffle_buffer=_SHUFFLE_BUFFER,
parse_record_fn=parse_record,
parse_record_fn=parse_record_fn,
num_epochs=num_epochs,
dtype=dtype,
datasets_num_private_threads=datasets_num_private_threads,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment