import tensorflow as tf

            'Optimizer vars: %s.' % ', '.join(var for var in optimizer_vars))
        tf.logging.info('Will train: %s.' % vars_to_load)
        tf.train.init_from_checkpoint(params['resnet_checkpoint'], vars_to_load)
        if not vars_to_load:
