-
Notifications
You must be signed in to change notification settings - Fork 45.5k
Closed
Description
System information
- What is the top-level directory of the model you are using: models/official/resnet
- Have I written custom code (as opposed to using a stock example script provided in TensorFlow): No
- OS Platform and Distribution (e.g., Linux Ubuntu 16.04):N/A
- TensorFlow installed from (source or binary): N/A
- TensorFlow version (use command below): N/A
- Bazel version (if compiling from source): N/A
- CUDA/cuDNN version: N/A
- GPU model and memory: N/A
- Exact command to reproduce: N/A
Describe the problem
I was looking at the resnet code as an example of a high performance input pipeline and noticed that the final prefetch op on the dataset is not assigned to anything:
models/official/resnet/resnet_run_loop.py
Line 91 in fd1d178
dataset.prefetch(buffer_size=tf.contrib.data.AUTOTUNE) |
Unless prefetch mutates the dataset (the docs don't indicate that it does), that line doesn't appear to be having its intended effect.
Metadata
Metadata
Assignees
Labels
No labels