Skip to content

Instantly share code, notes, and snippets.

@sooonism
sooonism / keras_image_classifier.py
Last active April 16, 2019 02:44
tf2 keras image classifier
#https://towardsdatascience.com/easy-image-classification-with-tensorflow-2-0-f734fee52d13
import tensorflow as tf
from tensorflow import keras
import datetime as dt
import pandas as pd
import sklearn.model_selection as sk
# tf.enable_eager_execution()
print(tf.__version__)
train_csv = pd.read_csv('data/train.csv')