【发布时间】:2017-08-10 12:36:51
【问题描述】:
我正在尝试使用 tensorflow 'TensorForestEstimator' 运行随机森林示例。以下是我在 tensorflow git repo 中使用的代码:
我得到的错误:
文件“/home/mckw9/tensorflow2/lib/python3.4/site-packages/tensorflow/contrib/learn/python/learn/estimators/estimator.py”,第 1363 行,得分 eval_results, global_step = self._estimator._evaluate_model(
AttributeError: 'TensorForestEstimator' 对象没有属性 '_evaluate_model'
我正在使用 tensorflow-gpu 1.0.1、NVIDIA Titan X Pascal 12GB GDDR5X、Ubuntu 14.04、Python 3.4
【问题讨论】:
-
值得注意的是,TensorForestEstimator 不会使用 GPU。随机森林训练没有很好的机会利用它们。
标签: python-3.x tensorflow