Views
No views yet
bengaliAI/badlad-mrcnn-paper.| Field | Value |
|---|---|
| Architecture | Faster R-CNN R-50-FPN 3x |
| Framework | Detectron2 |
| Config | COCO-Detection/faster_rcnn_R_50_FPN_3x.yaml |
| Classes | paragraph, text_box, image, table (4) |
| Training data | BaDLAD train (~20 365 images) |
| Iterations | 10 000 (paper recipe) |
| Outputs | class + bounding box (no mask head) |
| Checkpoint | model_final.pth (~159 MB) |
| sha256 | bd507afaadb80585edada54e7303cef825bc0297e48ee1e08c863fc45751e2ef |
BadLad_trainer_faster_rcnn.ipynb in the code repo.1from detectron2 import model_zoo
2from detectron2.config import get_cfg
3from detectron2.engine import DefaultPredictor
4from huggingface_hub import hf_hub_download
5
6weights = hf_hub_download("bengaliAI/badlad-frcnn-paper", "model_final.pth")
7
8cfg = get_cfg()
9cfg.merge_from_file(
10 model_zoo.get_config_file("COCO-Detection/faster_rcnn_R_50_FPN_3x.yaml")
11)
12cfg.MODEL.ROI_HEADS.NUM_CLASSES = 4
13cfg.MODEL.WEIGHTS = weights
14cfg.MODEL.ROI_HEADS.SCORE_THRESH_TEST = 0.05
15predictor = DefaultPredictor(cfg)| Repo | Role |
|---|---|
bengaliAI/badlad-mrcnn-paper | Mask R-CNN (instance segmentation) |
bengaliAI/badlad-yolov8m-seg | YOLOv8m-seg layout model |
1@inproceedings{shihab2023badlad,
2 title = {{BaDLAD}: A Large Multi-Domain {Bengali} Document Layout Analysis Dataset},
3 author = {Shihab, Md. Istiak Hossain and Hasan, Md. Rakibul and Emon, Mahfuzur Rahman and Hossen, Syed Mobassir and Ansary, Md. Nazmuddoha and Ahmed, Intesur and Rakib, Fazle Rabbi and Dhruvo, Shahriar Elahi and Dip, Souhardya Saha and Pavel, Akib Hasan and Meghla, Marsia Haque and Haque, Md. Rezwanul and Chowdhury, Sayma Sultana and Sadeque, Farig and Reasat, Tahsin and Humayun, Ahmed Imtiaz and Sushmit, Asif Shahriyar},
4 booktitle = {Proceedings of the 17th International Conference on Document Analysis and Recognition (ICDAR)},
5 year = {2023},
6 url = {https://arxiv.org/abs/2303.05325},
7}