Views
No views yet
| Metric | Value |
|---|---|
| mIoU | 24.38% |
| mAcc | 33.57% |
| aAcc | 71.33% |
1from mmseg.apis import init_model, inference_model
2
3config_file = 'upernet_fire_vit_tiny_512x512_ade20k.py'
4checkpoint_file = 'best_mIoU_iter_40000.pth'
5
6# Initialize the model
7model = init_model(config_file, checkpoint_file, device='cuda:0')
8
9# Inference on an image
10result = inference_model(model, 'demo.jpg')1@misc{rope-vit-segmentation,
2 author = {VLG IITR},
3 title = {UPerNet with FiRE-ViT for Semantic Segmentation},
4 year = {2026},
5 publisher = {Hugging Face},
6}