windows + caffe + python 인터페이스 설정
python 인 터 페 이 스 를 컴 파일 합 니 다. 인터넷 튜 토리 얼 이 많 습 니 다.내 쪽 은 단지 개별 문제 / error 에 대해 해결 방법 을 제시 할 뿐이다.
1. error: python 해석 기 에서 import caffe, ImportError: No module named caffe 가 나타 나 면
solution: caffe - windows - master \ python 의 caffe 폴 더 를 자체 python 의 site - package 에 가 져 옵 니 다.
2. error: python 해석 기 에서 import caffe, ImportError: No module named google. protobuf. internal 이 나타 나 면
solution:① For protobuf, you may download the codes from https://github.com/google/protobuf.
② Then run
python setup.py install。
windows 아래 에 있 으 면 cmd 에 입력: pip install protobuf.(다른 모듈 이 있 습 니까? 없 으 면 같은 방식 으로 사용 할 수 있 습 니 다)
② , setup.py ( )
질문
solution:“inline const char* cudnnGetErrorString(cudnnStatus_t status)” to“inline const char * CUDNNWINAPI cudnnGetErrorString(cudnnStatus_t status)”
========================================================
다른 오류 들 은 블 로 그 를 참고 하 세 요.http://blog.csdn.net/wishchin/article/details/45339753
이 내용에 흥미가 있습니까?
현재 기사가 여러분의 문제를 해결하지 못하는 경우 AI 엔진은 머신러닝 분석(스마트 모델이 방금 만들어져 부정확한 경우가 있을 수 있음)을 통해 가장 유사한 기사를 추천합니다:
다양한 언어의 JSONJSON은 Javascript 표기법을 사용하여 데이터 구조를 레이아웃하는 데이터 형식입니다. 그러나 Javascript가 코드에서 이러한 구조를 나타낼 수 있는 유일한 언어는 아닙니다. 저는 일반적으로 '객체'{}...
텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
CC BY-SA 2.5, CC BY-SA 3.0 및 CC BY-SA 4.0에 따라 라이센스가 부여됩니다.