Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting it to work with Scipy 1.0 #28

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`.~~

Expand Down
2 changes: 1 addition & 1 deletion ops.py
Original file line number Diff line number Diff line change
@@ -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'):
Expand Down