Commit 9494aad9 authored by 宋柯's avatar 宋柯

模型上线

parent 27640563
......@@ -89,7 +89,7 @@ def input_fn(csv_path, epoch, shuffle, batch_size):
dataset = dataset.map(parse_line, num_parallel_calls = 8).cache()
dataset = dataset.padded_batch(batch_size, padded_shapes, padding_values=padding_values)
dataset = dataset.prefetch(2048 * 5).repeat(epoch)
dataset = dataset.prefetch(512 * 100).repeat(epoch)
if shuffle:
dataset.shuffle(2048)
......
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