Created
June 25, 2019 22:31
-
-
Save obeshor/4ef0c632fb5c2f060c4e6d36e8d6a950 to your computer and use it in GitHub Desktop.
Load PlantVillage Dataset
This file contains 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
#Load data | |
zip_file=tf.keras.utils.get_file(origin='https://storage.googleapis.com/plantdata/PlantVillage.zip', | |
fname='PlantVillage.zip', extract=True) | |
#Create the training and validation directories | |
data_dir = os.path.join(os.path.dirname(zip_file), 'PlantVillage') | |
train_dir = os.path.join(data_dir, 'train') | |
validation_dir = os.path.join(data_dir, 'validation') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
'https://storage.googleapis.com/plantdata/PlantVillage.zip' link not exist. Could share dataset