adanet icon indicating copy to clipboard operation
adanet copied to clipboard

Test tutorial notebooks with Python 3

Open cweill opened this issue 7 years ago • 1 comments

Currently they are only tested with Python 2.7.

cweill avatar Nov 02 '18 15:11 cweill

Just tested the costumizing_adanet tutorial on MNIST dataset with Python 3.

The only thing I needed to change was the line (images=features.vaules()[0]) in build_subnetwork function with the following line; images = tf.to_float(features[FEATURES_KEY])

Here is the result for those who want to check; https://github.com/smyrbdr/AdaNet-on-MNIST

smyrbdr avatar Nov 10 '18 23:11 smyrbdr