Detectron2 from Facebook is an AI library with state-of-the-art detection and segmentation algorithms. While training AI algorithms, it is essential to keep an eye on training statistics. Unfortunately, some statistics, such as validation loss, is not currently provided but is possible by hacking the codebase (check references, please). Therefore, this tutorial is created to demonstrate the computation of training and validation loss using Detectron2.
- Detectron2
- PyTorch
Balloon segmentation dataset: Please download it with the following command:
$ wget https://github.com/matterport/Mask_RCNN/releases/download/v2.1/balloon_dataset.zip
$ python3 main.py
$ python3 -m tensorboard.main --logdir output
$ python3 inference.py
Please check here and create issues accordingly.