mirror of
https://github.com/kartikay-bagla/MiniVGGNet-Trainer.git
synced 2026-11-05 18:31:58 +00:00
Trains a MiniVGGNet CNN on a dataset
- Python 100%
| detector.model | ||
| helper.py | ||
| minivggnet.py | ||
| readme.md | ||
| test_nn.py | ||
| train_model.py | ||
MiniVGGNet Trainer
The dataset-folder should have the following structure:
dataset
| class_1
| | 1.png
| | 2.png
| | ..
| class_2
| | 1.png
| | 2.png
| | ..
| ..
Usage:
python train_model.py -d cross_extraction -m detector.model
python test_nn.py -i Cross.webm -m detector.model -o CrossIdentify.webm
Python packages used:
- Numpy
- Keras
- Tensorflow
- Scikit-learn
- imutils
- opencV
- argparse
- os
- pickle