How to use evaluation_loop with train_loop in tf-slim
I'm trying to implement a few different models and train them on CIFAR-10, and I want to use TF-slim to do this. It looks like TF-slim has two main loops that are useful during training: train_loop and evaluation_loop. My question is: what is the canonical way to use these loops? As a followup: is it possible to use early stopping with train_loop? Currently I have a model and my training file train.py looks like this import ... train_log_dir = ... with tf.device("/cpu:0"): images, labels, dataset = set_up_input_pipeline_with_fancy_prefetching( subset='train', ... ) logits, end_points = set_up