일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- pyqt
- 세계사
- terminal
- loss
- 유가 급등
- qtdesigner
- error
- Python
- Perceptron
- Inference
- 퍼셉트론
- TFRecord
- img
- TF
- opencv
- DataSet
- 비트코인
- Training
- itksnap
- 유로화
- 세계대전
- keras
- deeplearning
- 브렉시트
- 블록체인
- 딥러닝
- numpy
- dtype
- cv2
- TensorFlow
Archives
- Today
- Total
활연개랑
[python(파이썬) ] 1channel to 3channel (1채널을 3채널로 만드는 법) 본문
반응형
channel3_img = np.repeat(channel1_img[:,:,np.newaxis],3,-1)
이렇게 1층씩 3개 쌓아주시면 됩니다
'Python' 카테고리의 다른 글
[Tensorflow] TypeError: Input 'bytes' of 'DecodeRaw' Op has type int64 that does not match expected type of string. (0) | 2022.04.08 |
---|---|
[Python] ValueError: cannot resize this array: it does not own its data (0) | 2022.04.08 |
[Numpy(넘파이)] np.dot 행렬 연산 (0) | 2022.01.12 |
[Pandas(판다스)] 특정문자 포함하는 행 추출 (0) | 2022.01.03 |
[OpenCV][Numpy] np.resize 사용시 화질깨짐/ 이미지 깨짐 해결 (0) | 2022.01.02 |