Tensorflow - tf.Layers:函数.fit出错

时间:2017-05-07 15:03:27

标签: python tensorflow jupyter-notebook

我正在运行使用图层模块的github上给出的示例cnn_mnist。 我可以运行该程序,但会出现一个警告,告诉我其中一个函数已被弃用。 我找不到需要使用的新功能。

WARNING:tensorflow:From <ipython-input-14-ee49e8b76469>:25: calling BaseEstimator.fit (from tensorflow.contrib.learn.python.learn.estimators.estimator) with batch_size is deprecated and will be removed after 2016-12-01. Instructions for updating: Estimator is decoupled from Scikit Learn interface by moving into separate class SKCompat. Arguments x, y and batch_size are only available in the SKCompat class, Estimator will only accept input_fn. Example conversion: est = Estimator(...) -> est = SKCompat(Estimator(...))

0 个答案:

没有答案
相关问题