A minimal classifier training environment
Includes the skeleton code common on classification tasks:
- Training loop
- Resume training
- Load weights
- Export to onnx
- Training report graph
- Training report cvs
- Implement a data loading function
- Implement a model creation function
- Run
python3 -m venv .venv
source .venv/bin/activate
pip3 install torch torchvision torchinfo tqdm matplotlib
# flowers dataset needs
pip3 install scipy
# export needs
pip3 install onnx onnxruntime
python python main.py