일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 29 | 30 |
Tags
- itksnap
- loss
- keras
- terminal
- 비트코인
- error
- Perceptron
- Inference
- 유가 급등
- opencv
- 세계대전
- TFRecord
- 퍼셉트론
- 세계사
- DataSet
- cv2
- 브렉시트
- Python
- dtype
- pyqt
- deeplearning
- numpy
- img
- 유로화
- qtdesigner
- TensorFlow
- 딥러닝
- TF
- Training
- 블록체인
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로 입력하여 오류가 났더군요
다들 참고하시고 오늘도 좋은 코딩하루 되세요 !