Here be dragons, and image classifications
- Use ResNet-50 pretrained on imagenet with a new head layer
- Cache of heavy computation to disk for fast re-runs
- Confusion matrix generation
- Kaggle sample file generation
Create directories, and populate them with your data:
- train
- c0
- c1 ...
- valid
- c0
- c1 ...
- test
- unknown
- results
To train, run
python train.py
To predict an image, run
./predict.sh image-url-or-file-path 2> /dev/null
- Deep Residual Learning for Image Recognition
- Keras
- Practical Deep Learning for Coders course
- Amazon EC2 P2 Instances
- All code in this repository is under the MIT license as specified by the LICENSE file.
- The pretrained ResNet50 imagenet weights are ported from the ones released by Kaiming He under the MIT license.