Skip to content

Instantly share code, notes, and snippets.

View yzhang5471's full-sized avatar

Yuyang Z yzhang5471

  • Seattle, WA
  • 10:25 (UTC -08:00)
  • LinkedIn in/yyzwh
View GitHub Profile
@peterroelants
peterroelants / mnist_new_dataset_hook.py
Created August 8, 2017 08:32
Tensorflow Dataset API initialiser hook fix
from __future__ import division, print_function, absolute_import, \
unicode_literals
import tensorflow as tf
from tensorflow.examples.tutorials.mnist import input_data as mnist_data
from tensorflow.contrib import slim
from tensorflow.contrib.learn import ModeKeys
from tensorflow.contrib.learn.python.learn import learn_runner