pkmital / CADL

ARCHIVED: Contains historical course materials/Homework materials for the FREE MOOC course on "Creative Applications of Deep Learning w/ Tensorflow" #CADL
https://www.kadenze.com/courses/creative-applications-of-deep-learning-with-tensorflow/info
Apache License 2.0
1.48k stars 732 forks source link

Number of epochs unused in dataset_utils.create_input_pipeline #79

Open indraastra opened 7 years ago

indraastra commented 7 years ago

The n_epochs variable goes unused in dataset_utils.create_input_pipeline(), so the line

    producer = tf.train.string_input_producer(
        files, capacity=len(files))

should probably be

    producer = tf.train.string_input_producer(
        files, num_epochs=n_epochs, capacity=len(files))

However, I also had to add a call to sess.run(tf.local_variables_initializer()) after making that change.

pkmital commented 7 years ago

Good catch thanks filing an issue!