Downloads · 30 days
0
Kansallisarkisto/empty-tablecell-detection
empty-tablecell-detection is a image classification model from Kansallisarkisto. Use it when you need a label for an image. The card lists the license as mit.
The model is trained to classify table cell images as either empty or not empty. It has been trained using table cell images from Finnish census and death record tables from the 1930s.
Downloads · 30 days
0
Access
Public
Updated Sep 17, 2024
Repo size
28.2 MB
Likes
0
Public
Click a slice to open those files.
.onnx28.2 MB · 100%
From the Hugging Face model README
The model is trained to classify table cell images as either empty or not empty. It has been trained using table cell images from Finnish census and death record tables from the 1930s.
The model has been trained using densenet121 as the base model, and it has been transformed into the onnx format.
The model has been trained to classify table cells from specific kinds of tables, which contain mainly handwritten text. It has not been tested with other type of table cell data.
Training dataset consisted of
Validation dataset consisted of
The code used for model training is available in the repository in train.py file, which uses functions from
augment.py and utils.py files. The required libraries are listed in the requirements.txt file.
The model was trained using cpu with the following hyperparameters:
Evaluation results using the validation dataset are listed below:
| Validation loss | Validation accuracy | Validation F1-score |
|---|---|---|
| 0.0427 | 0.9899 | 0.9903 |
Inference can be performed using the code in the test.py file.