Machine Learning/Kaggle 따라하기 - Car Parking

Keras Data Augmentation

usefuLake 2020. 8. 2. 20:24

ImageDataGenerator

Input Image Data를 가지고 Machine Learning을 위해 Data Augmentation을 하기 위한 Keras의 class. Keras의 Data augmentation은 의미 그대로 Data의 개수를 늘린다는 것보다 Data를 변형하여 Generalize하고, 이를 Original Data에 대체하는 새로운 데이터로 만든다는 개념을 가지고 있다.

 

https://www.pyimagesearch.com/2019/07/08/keras-imagedatagenerator-and-data-augmentation/

 

Keras ImageDataGenerator and Data Augmentation - PyImageSearch

In today’s tutorial, you will learn how to use Keras’ ImageDataGenerator class to perform data augmentation. I’ll also dispel common confusions surrounding what data augmentation is, why we use data augmentation, and what it does/does not do.

www.pyimagesearch.com

https://keras.io/ko/preprocessing/image/

 

Image Preprocessing - Keras Documentation

이미지 전처리 [source] ImageDataGenerator 클래스 keras.preprocessing.image.ImageDataGenerator(featurewise_center=False, samplewise_center=False, featurewise_std_normalization=False, samplewise_std_normalization=False, zca_whitening=False, zca_epsi

keras.io

 

ImageDataGenerator.flow_from_directory

https://keras.io/api/preprocessing/image/#flowfromdirectory-method

 

Keras documentation: Image data preprocessing

Image data preprocessing image_dataset_from_directory function tf.keras.preprocessing.image_dataset_from_directory( directory, labels="inferred", label_mode="int", class_names=None, color_mode="rgb", batch_size=32, image_size=(256, 256), shuffle=True, seed

keras.io

 

Car Parking Class Activation

https://github.com/kairess/car_parking_class_activation_map

 

kairess/car_parking_class_activation_map

Free parking area detection whether free space or not and draw class activation map - kairess/car_parking_class_activation_map

github.com