PocketFlow
PocketFlow copied to clipboard
Change "batch_size" to "batch_size_eval" in __build_eval function
Describe the bug The __build_eval function in learner.py uses batch_size instead of batch_eval_size for the shape of evaluation images, ie
images.set_shape((FLAGS.batch_size, images.shape[1], images.shape[2],
needs to be changed to
images.set_shape((FLAGS.batch_size_eval, images.shape[1], images.shape[2], \
Thanks a lot. Bugs confirmed in these two files:
learners/uniform_quantization/learner.pylearners/nonuniform_quantization/learner.py
We will push a fix ASAP.