cnn 실습_나만의 이미지 데이터를 만들고 학습하기(2) - sequential API
2020. 3. 21. 00:11
import tensorflow as tf from tensorflow import keras from sklearn.model_selection import train_test_split import numpy as np from glob import glob from PIL import Image import matplotlib.pyplot as plt import os print(tf.__version__) print(keras.__version__) image_datas = glob('./datas/*/*.png') class_name = ["apple", "beef", "milk","noodle","potato"] dic = {"apple":0, "beef":1, "milk":2, "noodle..