What problem does it solve?
This Skill automates the training, evaluation, export, and inference processes for NVIDIA TAO SegFormer models, streamlining the workflow for semantic segmentation tasks.
Core Features & Use Cases
- Model Training: Automates the training process for SegFormer models, including data augmentation, optimization, and checkpointing.
- Evaluation: Evaluates trained models on a given dataset, providing metrics such as accuracy and MIoU.
- Export: Exports trained models in various formats, including ONNX for inference.
- Inference: Performs inference on new data using trained models.
- Use Case: Suppose you need to train a SegFormer model for semantic segmentation on a custom dataset. This Skill allows you to define the dataset, configure the training parameters, and automatically perform the training, evaluation, and export of the model.
Quick Start
To train a SegFormer model on your dataset, use the tao-train-segformer skill with the following command:
tao-train-segformer train --dataset segment.root_dir <path_to_dataset> --num_epochs 10