refactor: use org--name in artifacts-path (#912)
use org--name in artifacts-path Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>
This commit is contained in:
parent
90b766e2ae
commit
02faf5376b
@ -62,7 +62,7 @@ class CodeFormulaModel(BaseItemAndImageEnrichmentModel):
|
|||||||
Processes the given batch of elements and enriches them with predictions.
|
Processes the given batch of elements and enriches them with predictions.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
_model_repo_folder = "CodeFormula"
|
_model_repo_folder = "ds4sd--CodeFormula"
|
||||||
elements_batch_size = 5
|
elements_batch_size = 5
|
||||||
images_scale = 1.66 # = 120 dpi, aligned with training data resolution
|
images_scale = 1.66 # = 120 dpi, aligned with training data resolution
|
||||||
expansion_factor = 0.03
|
expansion_factor = 0.03
|
||||||
|
@ -56,7 +56,7 @@ class DocumentPictureClassifier(BaseEnrichmentModel):
|
|||||||
Processes a batch of elements and adds classification annotations.
|
Processes a batch of elements and adds classification annotations.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
_model_repo_folder = "DocumentFigureClassifier"
|
_model_repo_folder = "ds4sd--DocumentFigureClassifier"
|
||||||
images_scale = 2
|
images_scale = 2
|
||||||
|
|
||||||
def __init__(
|
def __init__(
|
||||||
|
@ -22,7 +22,7 @@ _log = logging.getLogger(__name__)
|
|||||||
|
|
||||||
|
|
||||||
class LayoutModel(BasePageModel):
|
class LayoutModel(BasePageModel):
|
||||||
_model_repo_folder = "docling-models"
|
_model_repo_folder = "ds4sd--docling-models"
|
||||||
_model_path = "model_artifacts/layout"
|
_model_path = "model_artifacts/layout"
|
||||||
|
|
||||||
TEXT_ELEM_LABELS = [
|
TEXT_ELEM_LABELS = [
|
||||||
|
@ -23,7 +23,7 @@ from docling.utils.profiling import TimeRecorder
|
|||||||
|
|
||||||
|
|
||||||
class TableStructureModel(BasePageModel):
|
class TableStructureModel(BasePageModel):
|
||||||
_model_repo_folder = "docling-models"
|
_model_repo_folder = "ds4sd--docling-models"
|
||||||
_model_path = "model_artifacts/tableformer"
|
_model_path = "model_artifacts/tableformer"
|
||||||
|
|
||||||
def __init__(
|
def __init__(
|
||||||
|
Loading…
Reference in New Issue
Block a user