update references to new v0_9_1 model release

This commit is contained in:
kba 2026-07-15 20:05:36 +02:00
parent 1440d454cc
commit d2755d1e93
3 changed files with 16 additions and 7 deletions

View file

@ -13,7 +13,8 @@ WGET = wget -O
#SEG_MODEL := https://github.com/qurator-spk/eynollah/releases/download/v0.3.0/models_eynollah.tar.gz #SEG_MODEL := https://github.com/qurator-spk/eynollah/releases/download/v0.3.0/models_eynollah.tar.gz
#SEG_MODEL := https://github.com/qurator-spk/eynollah/releases/download/v0.3.1/models_eynollah.tar.gz #SEG_MODEL := https://github.com/qurator-spk/eynollah/releases/download/v0.3.1/models_eynollah.tar.gz
#SEG_MODEL := https://zenodo.org/records/17194824/files/models_layout_v0_5_0.tar.gz?download=1 #SEG_MODEL := https://zenodo.org/records/17194824/files/models_layout_v0_5_0.tar.gz?download=1
EYNOLLAH_MODELS_URL := https://zenodo.org/records/21362927/files/models_inference_all_v0_9_0.zip # EYNOLLAH_MODELS_URL := https://zenodo.org/records/21362927/files/models_inference_all_v0_9_0.zip
EYNOLLAH_MODELS_URL := https://zenodo.org/records/21381102/files/models_inference_all_v0_9_1.zip
EYNOLLAH_MODELS_ZIP = $(notdir $(EYNOLLAH_MODELS_URL)) EYNOLLAH_MODELS_ZIP = $(notdir $(EYNOLLAH_MODELS_URL))
EYNOLLAH_MODELS_DIR = $(EYNOLLAH_MODELS_ZIP:%.zip=%) EYNOLLAH_MODELS_DIR = $(EYNOLLAH_MODELS_ZIP:%.zip=%)

View file

@ -1,8 +1,8 @@
from .specs import EynollahModelSpec, EynollahModelSpecSet from .specs import EynollahModelSpec, EynollahModelSpecSet
# NOTE: This needs to change whenever models/versions change # NOTE: This needs to change whenever models/versions change
ZENODO = "https://zenodo.org/records/21362927" ZENODO = "https://zenodo.org/records/21381102"
MODELS_VERSION = "v0_9_0" MODELS_VERSION = "v0_9_1"
def dist_url(dist_name: str="layout") -> str: def dist_url(dist_name: str="layout") -> str:
return f'{ZENODO}/models_{dist_name}_{MODELS_VERSION}.zip' return f'{ZENODO}/models_{dist_name}_{MODELS_VERSION}.zip'

View file

@ -85,11 +85,11 @@
}, },
"resources": [ "resources": [
{ {
"url": "https://zenodo.org/records/21362927/files/models_inference_all_v0_9_0.zip", "url": "https://zenodo.org/records/21381102/files/models_inference_layout_v0_9_1.zip",
"name": "models_inference_all_v0_9_0", "name": "models_inference_layout_v0_9_1",
"type": "archive", "type": "archive",
"size": 5177204769, "size": 1847700967,
"description": "Models for layout detection, reading order detection, textline detection, page extraction, column classification, table detection, binarization and image enhancement, as well as OCR", "description": "Models for layout detection, reading order detection, textline detection, page extraction, column classification, table detection, binarization and image enhancement",
"version_range": ">= v0.9.0" "version_range": ">= v0.9.0"
}, },
{ {
@ -159,6 +159,14 @@
} }
}, },
"resources": [ "resources": [
{
"url": "https://zenodo.org/records/21381102/files/models_inference_all_v0_9_1.zip",
"name": "models_inference_all_v0_9_1",
"type": "archive",
"size": 3761011909,
"description": "Models for layout detection, reading order detection, textline detection, page extraction, column classification, table detection, binarization and image enhancement",
"version_range": ">= v0.9.0"
},
{ {
"url": "https://zenodo.org/records/17727267/files/models_all_v0_8_0.zip", "url": "https://zenodo.org/records/17727267/files/models_all_v0_8_0.zip",
"name": "models_all_v0_8_0", "name": "models_all_v0_8_0",