Classifier-trains is a package aims to provide a primitive tool to finetune state-of-the-art models with PyTorch implementation, similar to Nvidia TAO but with more flexibility in augmentation and models. Like TAO classification, all parameters are configurable in yaml file to minimize the need of modifying scripts.
Goal: Get config ready, get dataset ready, no coding (hopefully :D), start PyTorch training.
pip3 install classifier-trains
Please see README.md inside src
folder.
Please see UML Diagram for the class diagram.
The logs and checkpoints will be saved in the output directory, and logs are in tensorboard format. In tensorboard, you will be able to see the ROC curve, sample images in training, parameters like learning rate and momentum, and metrics like accuracy and loss.
# Run tensorboard
tensorboard --logdir <output_dir>
If you run the training with profiling, a profile report will be generated in the output directory. You can see the time spent on each function. It gives you a better understanding of the performance of the training process, and a sense of where to optimize.
- Implement detector training