Downloads · 30 days
0
flagro/exceltablecnn-venron2
exceltablecnn-venron2 is a object detection model from flagro. Use it when you need objects located in an image. The card lists the license as mit.
A Faster R-CNN table-boundary detector for spreadsheets, from ExcelTableCNN, a license-clean reimplementation of the TableSense approach. Given a sheet's cell grid it predicts a bounding box (cell range) for each tabl…
Downloads · 30 days
0
Access
Public
Updated Aug 9, 2026
Repo size
201 MB
Likes
1
Public
Click a slice to open those files.
.pt201 MB · 100%
From the Hugging Face model README
A Faster R-CNN table-boundary detector for spreadsheets, from ExcelTableCNN, a license-clean reimplementation of the TableSense approach. Given a sheet's cell grid it predicts a bounding box (cell range) for each table, with PBR boundary snapping and a grid-context backbone.
.xls/.xlsx.final.pt (about 201 MB), trained 160 epochs on the full VEnron2 set.Evaluated on the held-out VEnron2 test split (197 sheets, 342 tables) at score threshold 0.5, using the strict Error-of-Boundary metric (EoB-0 = cell-exact, EoB-2 = within 2 cells):
| Metric | Precision | Recall |
|---|---|---|
| EoB-0 (exact) | 47.7% | 48.2% |
| EoB-2 (within 2 cells) | 66.5% | 67.3% |
The reloaded checkpoint reproduces these numbers exactly (RoI pooling scale pinned to 1.0, see PR #8). For reference, the TableSense paper reports EoB-2 precision 86.5% / recall 91.3%, trained on about 25x more hand-labeled sheets.
Install the package (it handles featurization and decoding):
pip install git+https://github.com/Flagro/ExcelTableCNN.git
Download the weights and detect tables from the command line:
huggingface-cli download flagro/exceltablecnn-venron2 final.pt --local-dir .
excel-table-cnn-detect report.xls --weights final.pt
# Sheet1!B2:H45 score=0.973
Or from Python:
from huggingface_hub import hf_hub_download
from excel_table_cnn import load_checkpoint
path = hf_hub_download("flagro/exceltablecnn-venron2", "final.pt")
model = load_checkpoint(path, device="cpu") # or "cuda"
0ed4205.Code and weights are MIT-licensed (see the repository). The training data is the public VEnron2 corpus, derived from the Enron email dataset; confirm its terms permit your intended redistribution or use.
Built on the method from TableSense (Dong et al., AAAI 2019). Please cite the original paper for the approach and link this repository for the implementation.