Deep Learning
-
CNN(3) - Augmentation, Pre-trained CNNDeep Learning 2020. 7. 22. 23:41
@ 목차 1. Augmentation 2. Pre-trained CNN 3. Reference 1. Augmentation 문제 : Deep learning에서 CNN을 하다보면 이미지 데이터가 부족해서 validation loss가 크거나 validation accuracy가 작은 경우가 있다(Overfitting). 즉, 추가적인 데이터가 필요한 것이다. 그런데 데이터를 구할 수 없는 상황이라면? 답 : Augmentation으로 해결 가능하다. Data augmentation은 이미지 데이터를 회전시키고, 확대하거나 축소하고, 변형시켜 새로운 데이터를 얻는 과정이다. 실제로 적용하려면 앞 강의에서 살펴본 ImageDataGenerator를 사용하면 된다. from tensorflow.keras.pr..