A repository of SegFormer model test
Assuming a fresh Anaconda distribution with Python 3.8, you can install the dependencies with:
cd Semantic-Segmentation-with-Transformer
pip install -r requirements.txt
python semantic_segmentation_main.py --api train
python semantic_segmentation_main.py --api eval
python semantic_segmentation_main.py --api infer