This repository uses the SegFormer model proposed in SegFormer: Simple and Efficient Design for Semantic Segmentation with Transformers by Enze Xie, Wenhai Wang, Zhiding Yu, Anima Anandkumar, Jose M. Alvarez, Ping Luo.
Create a .env
file in the root directory of this repository with your Hugging Face token:
HF_TOKEN=<your_token>
CUDA_LAUNCH_BLOCKING=1
Open this repository as a VS Devcontainer and open the following demos:
- Dataset:
dataset.py
. Will push the dataset to Hugging Face. - Training:
segformer-vineyard-train.ipynb
. - Inference:
segformer-vineyard-inference.ipynb
.
- Training metrics are not being calculated.
- Apply correct labels to masks and update dataset.
- Setup MLOps pipeline.
- Compare hyperparameters using good metrics.