TF 객체 감지 API here에 대한 설치 지침을 따르고 있습니다. 그러나 마지막 단계는 함께 설치 테스트하는 것입니다 : python object_detection/builders/model_builder_test.py
Tensorflow 객체 감지 API 설치 오류 'AttributeError : module'pandas '에'계산 '속성이 없습니다.'
그것은 오류와 함께 실패 :
AttributeError: module 'pandas' has no attribute 'computation'
어떤 아이디어? 경로가 올바르게 설정되어 있고 models 폴더에서 실행 중입니다. AWS Deep Learning AMI를 사용 중이며 팬더가 존재합니다.
전체 스택 추적 :
conda update dask
은 또한 다음과 같은 명령을 사용할 수의 버전을 변경 :
(root) [email protected]:~/models$ python object_detection/builders/model_builder_test.py Traceback (most recent call last): File "object_detection/builders/model_builder_test.py", line 21, in from object_detection.builders import model_builder File "/home/ubuntu/models/object_detection/builders/model_builder.py", line 19, in from object_detection.builders import box_predictor_builder File "/home/ubuntu/models/object_detection/builders/box_predictor_builder.py", line 18, in from object_detection.core import box_predictor File "/home/ubuntu/models/object_detection/core/box_predictor.py", line 35, in slim = tf.contrib.slim File "/home/ubuntu/src/anaconda3/lib/python3.5/site-packages/tensorflow/python/util/lazy_loader.py", line 53, in getattr module = self._load() File "/home/ubuntu/src/anaconda3/lib/python3.5/site-packages/tensorflow/python/util/lazy_loader.py", line 42, in _load module = importlib.import_module(self.name) File "/home/ubuntu/src/anaconda3/lib/python3.5/importlib/init.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/home/ubuntu/src/anaconda3/lib/python3.5/site-packages/tensorflow/contrib/init.py", line 31, in from tensorflow.contrib import factorization File "/home/ubuntu/src/anaconda3/lib/python3.5/site-packages/tensorflow/contrib/factorization/init.py", line 24, in from tensorflow.contrib.factorization.python.ops.gmm import * File "/home/ubuntu/src/anaconda3/lib/python3.5/site-packages/tensorflow/contrib/factorization/python/ops/gmm.py", line 27, in from tensorflow.contrib.learn.python.learn.estimators import estimator File "/home/ubuntu/src/anaconda3/lib/python3.5/site-packages/tensorflow/contrib/learn/init.py", line 88, in from tensorflow.contrib.learn.python.learn import * File "/home/ubuntu/src/anaconda3/lib/python3.5/site-packages/tensorflow/contrib/learn/python/init.py", line 23, in from tensorflow.contrib.learn.python.learn import * File "/home/ubuntu/src/anaconda3/lib/python3.5/site-packages/tensorflow/contrib/learn/python/learn/init.py", line 25, in from tensorflow.contrib.learn.python.learn import estimators File "/home/ubuntu/src/anaconda3/lib/python3.5/site-packages/tensorflow/contrib/learn/python/learn/estimators/init.py", line 297, in from tensorflow.contrib.learn.python.learn.estimators.dnn import DNNClassifier File "/home/ubuntu/src/anaconda3/lib/python3.5/site-packages/tensorflow/contrib/learn/python/learn/estimators/dnn.py", line 30, in from tensorflow.contrib.learn.python.learn.estimators import dnn_linear_combined File "/home/ubuntu/src/anaconda3/lib/python3.5/site-packages/tensorflow/contrib/learn/python/learn/estimators/dnn_linear_combined.py", line 31, in from tensorflow.contrib.learn.python.learn.estimators import estimator File "/home/ubuntu/src/anaconda3/lib/python3.5/site-packages/tensorflow/contrib/learn/python/learn/estimators/estimator.py", line 49, in from tensorflow.contrib.learn.python.learn.learn_io import data_feeder File "/home/ubuntu/src/anaconda3/lib/python3.5/site-packages/tensorflow/contrib/learn/python/learn/learn_io/init.py", line 21, in from tensorflow.contrib.learn.python.learn.learn_io.dask_io import extract_dask_data File "/home/ubuntu/src/anaconda3/lib/python3.5/site-packages/tensorflow/contrib/learn/python/learn/learn_io/dask_io.py", line 26, in import dask.dataframe as dd File "/home/ubuntu/src/anaconda3/lib/python3.5/site-packages/dask/dataframe/init.py", line 3, in from .core import (DataFrame, Series, Index, _Frame, map_partitions, File "/home/ubuntu/src/anaconda3/lib/python3.5/site-packages/dask/dataframe/core.py", line 36, in pd.computation.expressions.set_use_numexpr(False) AttributeError: module 'pandas' has no attribute 'computation'