일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- 블록체인
- DataSet
- pyqt
- cv2
- keras
- 딥러닝
- 세계사
- TFRecord
- Python
- 세계대전
- Perceptron
- TensorFlow
- numpy
- 유가 급등
- 브렉시트
- Inference
- opencv
- 퍼셉트론
- loss
- 유로화
- TF
- deeplearning
- terminal
- 비트코인
- img
- itksnap
- error
- Training
- dtype
- qtdesigner
Archives
- Today
- Total
활연개랑
[OpenCV] 오류 AttributeError: 'NoneType' object has no attribute 'shape' 본문
딥러닝
[OpenCV] 오류 AttributeError: 'NoneType' object has no attribute 'shape'
승해tmdhey 2021. 10. 31. 19:52반응형
AttributeError: 'NoneType' object has no attribute 'shape'
이 오류는 이미지 경로설정이 잘못되어있는 경우입니다.
img = cv2.imread('121_F.jpg',cv2.IMREAD_COLOR)
저는 '123_F.jpg'를 입력해야하는데 121로 입력하여 오류가 났더군요
다들 참고하시고 오늘도 좋은 코딩하루 되세요 !