Last active
January 12, 2019 14:43
-
-
Save darkcurrent/eddf3703c0572dae75fd3d44bf2f82d9 to your computer and use it in GitHub Desktop.
import ve path
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import numpy as np | |
import matplotlib.pyplot as plt | |
%matplotlib inline | |
import os | |
from pathlib import Path | |
import keras | |
from keras.preprocessing.image import ImageDataGenerator | |
from keras.applications import ResNet50 | |
from keras.applications.resnet50 import preprocess_input | |
from keras import Model, layers | |
base_dir = Path("../../../hymenoptera_data/") | |
train_dir = os.path.join(base_dir, 'train') | |
validation_dir = os.path.join(base_dir, 'val') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment