kristoph
kristoph

Reputation: 111

Tensorflow AttributeError: 'module' object has no attribute 'DNNClassifier'

Trying to repoduce the results from the Tensorflow tutorial based on the Iris Data set https://www.tensorflow.org/get_started/estimator

However I am unable to run it as there is the Attribute Error I am running this on the official docker tensorflow jupyter image

error output

Upvotes: 1

Views: 1799

Answers (1)

Seastar
Seastar

Reputation: 386

Just to close the question officially: only the (right now) newest tensorflow release 1.3.0 has the DNNClassifier included (see release notes: https://github.com/tensorflow/tensorflow/blob/r1.3/RELEASE.md), so you need to upgrade your tensorflow version to use it:)

Upvotes: 2

Related Questions