Downloads · 30 days
0
reorderbench/unified_scoring_model
unified_scoring_model is a machine learning model from reorderbench. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
We build a unified scoring model based on the ReorderBench. This model aligns with the convolution- and entropy-based scoring method across all four visual patterns in both binary and continuous matrices and can also…
Downloads · 30 days
0
Access
Public
Updated Jan 11, 2025
Repo size
1.1 GB
Likes
0
Public
Click a slice to open those files.
.pth1.1 GB · 100%
From the Hugging Face model README
We build a unified scoring model based on the ReorderBench. This model aligns with the convolution- and entropy-based scoring method across all four visual patterns in both binary and continuous matrices and can also measure matrices of varying sizes.
Download the ReorderBench test set from here and the source code from here.
# install from requirements.txt
pip3 install -r requirements.txt
python test.py \
--data_folder <path> \ # the path to the test set folder
--model_path <path> \ # the path to the unified scoring model checkpoint
--model_type <str> \ # one of convnext, res50, vgg16
To test on a single matrix:
python test_single.py \
--matrix_path <path> \ # the path to the matrix in examples folder
--model_path <path> \ # the path to the convnext-tiny unified scoring model checkpoint