diff --git a/README.md b/README.md index bc81a576..97cf4556 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,7 @@ TensorFlow implementation of the algorithm in the paper [Age Progression/Regress ## Pre-requisites * Python 2.7x * Scipy 1.0.0 +* Pillow * ~~TensorFlow (r0.12)~~ * ~~Please note that you will get errors if running with TensorFlow r1.0 because the definition of input arguments of some functions have changed, *e.g.*, `tf.concat` and `tf.nn.sigmoid_cross_entropy_with_logits`.~~ diff --git a/ops.py b/ops.py index 550c1ad4..960f4238 100644 --- a/ops.py +++ b/ops.py @@ -1,7 +1,7 @@ from __future__ import division import tensorflow as tf import numpy as np -from scipy.misc import imread, imresize, imsave +from scipy.misc.pilutil import imread, imresize, imsave def conv2d(input_map, num_output_channels, size_kernel=5, stride=2, name='conv2d'):