https://rfriend.tistory.com/431
[Keras] 이미지 파일 업로드하고 전처리하여 시각화하는 방법 (how to upload, preprocess and visualize images)
CNN(Convolutional Neural Network)으로 이미지 분류 모델링할 때 보통 tensorflow나 keras 라이브러리에 이미 포함되어 있는 MNIST, CIFAR-10 같은 이미지를 간단하게 load 하는 함수를 이용해서 toy project로..
rfriend.tistory.com
개와 고양이를 이용한 이해
1. 개와 고양이 사진 다운로드 (download dogs and cats images from Kaggle)
2. 개와 고양이 이미지 30개만 선택해서 별도 경로(폴더)에 복사하기
3. 이미지 파일을 로딩, float array 로 변환 후 전처리하기
(load image file and convert image data to float array format)
4. 한개의 이미지 파일의 array 를 시각화하기 (visualizing an image array data)
반응형
'AI > 딥러닝' 카테고리의 다른 글
딥러닝 모델 설계 노드수 은닉층 수 결정하는 법 (0) | 2021.11.14 |
---|---|
딥러닝 전이학습 - keras (0) | 2021.11.13 |
object detection 성능 지표 (0) | 2021.11.05 |
딥러닝 학습의 이해 (0) | 2021.10.31 |
opencv 와 yolo 를 이용한 웹캠 연결(간단하게 구현하기) (0) | 2021.08.25 |