Skip to content

Instantly share code, notes, and snippets.

View SeverinAlexB's full-sized avatar

Severin Alexander Bühler SeverinAlexB

  • A80F C42B 75E8 771B 196D  EB41 BD10 406A 48C7 3F88
  • Switzerland
  • X @SeverinAlexB
View GitHub Profile
@fchollet
fchollet / classifier_from_little_data_script_1.py
Last active November 28, 2023 07:12
Updated to the Keras 2.0 API.
'''This script goes along the blog post
"Building powerful image classification models using very little data"
from blog.keras.io.
It uses data that can be downloaded at:
https://www.kaggle.com/c/dogs-vs-cats/data
In our setup, we:
- created a data/ folder
- created train/ and validation/ subfolders inside data/
- created cats/ and dogs/ subfolders inside train/ and validation/
- put the cat pictures index 0-999 in data/train/cats