diff --git a/.github/verify_pr_labels.py b/.github/verify_pr_labels.py index 470751ed4c..3e622a746f 100644 --- a/.github/verify_pr_labels.py +++ b/.github/verify_pr_labels.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/api/app/config.py b/api/app/config.py index 188a7273f1..6ce1df1fc7 100644 --- a/api/app/config.py +++ b/api/app/config.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/api/app/main.py b/api/app/main.py index c767fc4891..622f1307b2 100644 --- a/api/app/main.py +++ b/api/app/main.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/api/app/routes/detection.py b/api/app/routes/detection.py index 1c854e0e29..f601c92fe9 100644 --- a/api/app/routes/detection.py +++ b/api/app/routes/detection.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/api/app/routes/kie.py b/api/app/routes/kie.py index 73370e685a..d48706de09 100644 --- a/api/app/routes/kie.py +++ b/api/app/routes/kie.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/api/app/routes/ocr.py b/api/app/routes/ocr.py index 8822e39c69..d4a3150219 100644 --- a/api/app/routes/ocr.py +++ b/api/app/routes/ocr.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/api/app/routes/recognition.py b/api/app/routes/recognition.py index f8e0bcafd7..c09a950404 100644 --- a/api/app/routes/recognition.py +++ b/api/app/routes/recognition.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/api/app/schemas.py b/api/app/schemas.py index 6084c51603..9c111ca59a 100644 --- a/api/app/schemas.py +++ b/api/app/schemas.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/api/app/utils.py b/api/app/utils.py index 7e8c73d232..01ceeaf804 100644 --- a/api/app/utils.py +++ b/api/app/utils.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/api/app/vision.py b/api/app/vision.py index 606394d598..571ed4f3db 100644 --- a/api/app/vision.py +++ b/api/app/vision.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/demo/app.py b/demo/app.py index d43c8eff91..3d1dbf3630 100644 --- a/demo/app.py +++ b/demo/app.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/demo/backend/pytorch.py b/demo/backend/pytorch.py index ece5fb48fa..5695b3986e 100644 --- a/demo/backend/pytorch.py +++ b/demo/backend/pytorch.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/demo/backend/tensorflow.py b/demo/backend/tensorflow.py index 82a569fd5f..6287d3cf4a 100644 --- a/demo/backend/tensorflow.py +++ b/demo/backend/tensorflow.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/docs/source/conf.py b/docs/source/conf.py index 40a9a87f4f..615c41b28a 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/doctr/contrib/artefacts.py b/doctr/contrib/artefacts.py index 3aca3007bd..5d8ef6b521 100644 --- a/doctr/contrib/artefacts.py +++ b/doctr/contrib/artefacts.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/doctr/contrib/base.py b/doctr/contrib/base.py index 765b521dbc..317f1f4e4e 100644 --- a/doctr/contrib/base.py +++ b/doctr/contrib/base.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/doctr/datasets/cord.py b/doctr/datasets/cord.py index 65f463da6b..ba1f6f12d0 100644 --- a/doctr/datasets/cord.py +++ b/doctr/datasets/cord.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. @@ -76,7 +76,9 @@ def __init__( self.data: list[tuple[str | np.ndarray, str | dict[str, Any] | np.ndarray]] = [] self.train = train np_dtype = np.float32 - for img_path in tqdm(iterable=os.listdir(tmp_root), desc="Unpacking CORD", total=len(os.listdir(tmp_root))): + for img_path in tqdm( + iterable=os.listdir(tmp_root), desc="Preparing and Loading CORD", total=len(os.listdir(tmp_root)) + ): # File existence check if not os.path.exists(os.path.join(tmp_root, img_path)): raise FileNotFoundError(f"unable to locate {os.path.join(tmp_root, img_path)}") diff --git a/doctr/datasets/datasets/base.py b/doctr/datasets/datasets/base.py index 08d5a2eedd..b75f9e7348 100644 --- a/doctr/datasets/datasets/base.py +++ b/doctr/datasets/datasets/base.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/doctr/datasets/datasets/pytorch.py b/doctr/datasets/datasets/pytorch.py index da4040c3b0..f4eb6bc240 100644 --- a/doctr/datasets/datasets/pytorch.py +++ b/doctr/datasets/datasets/pytorch.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/doctr/datasets/datasets/tensorflow.py b/doctr/datasets/datasets/tensorflow.py index f0206cf035..9d646100ba 100644 --- a/doctr/datasets/datasets/tensorflow.py +++ b/doctr/datasets/datasets/tensorflow.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/doctr/datasets/detection.py b/doctr/datasets/detection.py index 50fb7f6893..0c8e79abab 100644 --- a/doctr/datasets/detection.py +++ b/doctr/datasets/detection.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/doctr/datasets/doc_artefacts.py b/doctr/datasets/doc_artefacts.py index d96e81f6c2..65028b50f1 100644 --- a/doctr/datasets/doc_artefacts.py +++ b/doctr/datasets/doc_artefacts.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/doctr/datasets/funsd.py b/doctr/datasets/funsd.py index 53e65f8014..037a106359 100644 --- a/doctr/datasets/funsd.py +++ b/doctr/datasets/funsd.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. @@ -71,7 +71,9 @@ def __init__( # # list images tmp_root = os.path.join(self.root, subfolder, "images") self.data: list[tuple[str | np.ndarray, str | dict[str, Any] | np.ndarray]] = [] - for img_path in tqdm(iterable=os.listdir(tmp_root), desc="Unpacking FUNSD", total=len(os.listdir(tmp_root))): + for img_path in tqdm( + iterable=os.listdir(tmp_root), desc="Preparing and Loading FUNSD", total=len(os.listdir(tmp_root)) + ): # File existence check if not os.path.exists(os.path.join(tmp_root, img_path)): raise FileNotFoundError(f"unable to locate {os.path.join(tmp_root, img_path)}") diff --git a/doctr/datasets/generator/base.py b/doctr/datasets/generator/base.py index ec4ebb6855..2d14528dd2 100644 --- a/doctr/datasets/generator/base.py +++ b/doctr/datasets/generator/base.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/doctr/datasets/generator/pytorch.py b/doctr/datasets/generator/pytorch.py index d3dbecbd75..01a4339f03 100644 --- a/doctr/datasets/generator/pytorch.py +++ b/doctr/datasets/generator/pytorch.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/doctr/datasets/generator/tensorflow.py b/doctr/datasets/generator/tensorflow.py index a71cb9bb5d..9bd23f97c0 100644 --- a/doctr/datasets/generator/tensorflow.py +++ b/doctr/datasets/generator/tensorflow.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/doctr/datasets/ic03.py b/doctr/datasets/ic03.py index 73a70e241a..569f23fcf7 100644 --- a/doctr/datasets/ic03.py +++ b/doctr/datasets/ic03.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. @@ -80,7 +80,7 @@ def __init__( xml_tree = ET.parse(os.path.join(tmp_root, "words.xml")) xml_root = xml_tree.getroot() - for image in tqdm(iterable=xml_root, desc="Unpacking IC03", total=len(xml_root)): + for image in tqdm(iterable=xml_root, desc="Preparing and Loading IC03", total=len(xml_root)): name, _resolution, rectangles = image # File existence check diff --git a/doctr/datasets/ic13.py b/doctr/datasets/ic13.py index a4e1c6cc6c..d528c3913d 100644 --- a/doctr/datasets/ic13.py +++ b/doctr/datasets/ic13.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. @@ -70,7 +70,7 @@ def __init__( img_names = os.listdir(img_folder) - for img_name in tqdm(iterable=img_names, desc="Unpacking IC13", total=len(img_names)): + for img_name in tqdm(iterable=img_names, desc="Preparing and Loading IC13", total=len(img_names)): img_path = Path(img_folder, img_name) label_path = Path(label_folder, "gt_" + Path(img_name).stem + ".txt") diff --git a/doctr/datasets/iiit5k.py b/doctr/datasets/iiit5k.py index eb7e1d43a8..80800470f1 100644 --- a/doctr/datasets/iiit5k.py +++ b/doctr/datasets/iiit5k.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. @@ -72,7 +72,9 @@ def __init__( self.data: list[tuple[str | np.ndarray, str | dict[str, Any] | np.ndarray]] = [] np_dtype = np.float32 - for img_path, label, box_targets in tqdm(iterable=mat_data, desc="Unpacking IIIT5K", total=len(mat_data)): + for img_path, label, box_targets in tqdm( + iterable=mat_data, desc="Preparing and Loading IIIT5K", total=len(mat_data) + ): _raw_path = img_path[0] _raw_label = label[0] diff --git a/doctr/datasets/iiithws.py b/doctr/datasets/iiithws.py index 11c4e04930..d49917608b 100644 --- a/doctr/datasets/iiithws.py +++ b/doctr/datasets/iiithws.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. @@ -63,7 +63,7 @@ def __init__( set_slice = slice(train_samples) if self.train else slice(train_samples, None) for annotation in tqdm( - iterable=annotations[set_slice], desc="Unpacking IIITHWS", total=len(annotations[set_slice]) + iterable=annotations[set_slice], desc="Preparing and Loading IIITHWS", total=len(annotations[set_slice]) ): img_path, label = annotation.split()[0:2] img_path = os.path.join(img_folder, img_path) diff --git a/doctr/datasets/imgur5k.py b/doctr/datasets/imgur5k.py index 790fd01ef8..b2889022a7 100644 --- a/doctr/datasets/imgur5k.py +++ b/doctr/datasets/imgur5k.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. @@ -95,7 +95,9 @@ def __init__( with open(label_path) as f: annotation_file = json.load(f) - for img_name in tqdm(iterable=img_names[set_slice], desc="Unpacking IMGUR5K", total=len(img_names[set_slice])): + for img_name in tqdm( + iterable=img_names[set_slice], desc="Preparing and Loading IMGUR5K", total=len(img_names[set_slice]) + ): img_path = Path(img_folder, img_name) img_id = img_name.split(".")[0] diff --git a/doctr/datasets/loader.py b/doctr/datasets/loader.py index 8c17fa08a9..ce25ce7d0d 100644 --- a/doctr/datasets/loader.py +++ b/doctr/datasets/loader.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/doctr/datasets/mjsynth.py b/doctr/datasets/mjsynth.py index e544bdaf43..7479185694 100644 --- a/doctr/datasets/mjsynth.py +++ b/doctr/datasets/mjsynth.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. @@ -94,7 +94,9 @@ def __init__( train_samples = int(len(img_paths) * 0.9) set_slice = slice(train_samples) if self.train else slice(train_samples, None) - for path in tqdm(iterable=img_paths[set_slice], desc="Unpacking MJSynth", total=len(img_paths[set_slice])): + for path in tqdm( + iterable=img_paths[set_slice], desc="Preparing and Loading MJSynth", total=len(img_paths[set_slice]) + ): if path not in self.BLACKLIST: label = path.split("_")[1] img_path = os.path.join(img_folder, path[2:]).strip() diff --git a/doctr/datasets/ocr.py b/doctr/datasets/ocr.py index f47181305c..929c438de2 100644 --- a/doctr/datasets/ocr.py +++ b/doctr/datasets/ocr.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/doctr/datasets/orientation.py b/doctr/datasets/orientation.py index c10dff6856..84c93bcc54 100644 --- a/doctr/datasets/orientation.py +++ b/doctr/datasets/orientation.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/doctr/datasets/recognition.py b/doctr/datasets/recognition.py index f5cfddf78a..bf2c639b22 100644 --- a/doctr/datasets/recognition.py +++ b/doctr/datasets/recognition.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/doctr/datasets/sroie.py b/doctr/datasets/sroie.py index eb6b3fc1b2..2191c57796 100644 --- a/doctr/datasets/sroie.py +++ b/doctr/datasets/sroie.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. @@ -76,7 +76,9 @@ def __init__( self.data: list[tuple[str | np.ndarray, str | dict[str, Any] | np.ndarray]] = [] np_dtype = np.float32 - for img_path in tqdm(iterable=os.listdir(tmp_root), desc="Unpacking SROIE", total=len(os.listdir(tmp_root))): + for img_path in tqdm( + iterable=os.listdir(tmp_root), desc="Preparing and Loading SROIE", total=len(os.listdir(tmp_root)) + ): # File existence check if not os.path.exists(os.path.join(tmp_root, img_path)): raise FileNotFoundError(f"unable to locate {os.path.join(tmp_root, img_path)}") diff --git a/doctr/datasets/svhn.py b/doctr/datasets/svhn.py index 51e53540c4..6227a18e79 100644 --- a/doctr/datasets/svhn.py +++ b/doctr/datasets/svhn.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. @@ -80,7 +80,9 @@ def __init__( with h5py.File(os.path.join(tmp_root, "digitStruct.mat"), "r") as f: img_refs = f["digitStruct/name"] box_refs = f["digitStruct/bbox"] - for img_ref, box_ref in tqdm(iterable=zip(img_refs, box_refs), desc="Unpacking SVHN", total=len(img_refs)): + for img_ref, box_ref in tqdm( + iterable=zip(img_refs, box_refs), desc="Preparing and Loading SVHN", total=len(img_refs) + ): # convert ascii matrix to string img_name = "".join(map(chr, f[img_ref[0]][()].flatten())) diff --git a/doctr/datasets/svt.py b/doctr/datasets/svt.py index 99d6c6c8c9..519ea2a28f 100644 --- a/doctr/datasets/svt.py +++ b/doctr/datasets/svt.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. @@ -73,7 +73,7 @@ def __init__( ) xml_root = xml_tree.getroot() - for image in tqdm(iterable=xml_root, desc="Unpacking SVT", total=len(xml_root)): + for image in tqdm(iterable=xml_root, desc="Preparing and Loading SVT", total=len(xml_root)): name, _, _, _resolution, rectangles = image # File existence check diff --git a/doctr/datasets/synthtext.py b/doctr/datasets/synthtext.py index 2b8dc84321..640f35db15 100644 --- a/doctr/datasets/synthtext.py +++ b/doctr/datasets/synthtext.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. @@ -90,7 +90,7 @@ def __init__( del mat_data for img_path, word_boxes, txt in tqdm( - iterable=zip(paths, boxes, labels), desc="Unpacking SynthText", total=len(paths) + iterable=zip(paths, boxes, labels), desc="Preparing and Loading SynthText", total=len(paths) ): # File existence check if not os.path.exists(os.path.join(tmp_root, img_path[0])): diff --git a/doctr/datasets/utils.py b/doctr/datasets/utils.py index 77593694fd..0c36caeb48 100644 --- a/doctr/datasets/utils.py +++ b/doctr/datasets/utils.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/doctr/datasets/vocabs.py b/doctr/datasets/vocabs.py index f91b76d64f..cab91377db 100644 --- a/doctr/datasets/vocabs.py +++ b/doctr/datasets/vocabs.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/doctr/datasets/wildreceipt.py b/doctr/datasets/wildreceipt.py index 8da37a78ee..1c63d3aaad 100644 --- a/doctr/datasets/wildreceipt.py +++ b/doctr/datasets/wildreceipt.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. @@ -9,6 +9,7 @@ from typing import Any import numpy as np +from tqdm import tqdm from .datasets import AbstractDataset from .utils import convert_target_to_relative, crop_bboxes_from_image @@ -79,7 +80,10 @@ def __init__( json_strings = data.strip().split("\n") box: list[float] | np.ndarray _targets = [] - for json_string in json_strings: + + for json_string in tqdm( + iterable=json_strings, desc="Preparing and Loading WILDRECEIPT", total=len(json_strings) + ): json_data = json.loads(json_string) img_path = json_data["file_name"] annotations = json_data["annotations"] diff --git a/doctr/file_utils.py b/doctr/file_utils.py index 1ce5596b1e..6f5ab7d18b 100644 --- a/doctr/file_utils.py +++ b/doctr/file_utils.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/doctr/io/elements.py b/doctr/io/elements.py index 2f78401f5e..dc9b7fcb67 100644 --- a/doctr/io/elements.py +++ b/doctr/io/elements.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/doctr/io/html.py b/doctr/io/html.py index 21c0340a88..e6d62e992a 100644 --- a/doctr/io/html.py +++ b/doctr/io/html.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/doctr/io/image/base.py b/doctr/io/image/base.py index 5e82236a5d..6cc085ec22 100644 --- a/doctr/io/image/base.py +++ b/doctr/io/image/base.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/doctr/io/image/pytorch.py b/doctr/io/image/pytorch.py index e2b01affd1..49919b82e4 100644 --- a/doctr/io/image/pytorch.py +++ b/doctr/io/image/pytorch.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/doctr/io/image/tensorflow.py b/doctr/io/image/tensorflow.py index b8dc8256c5..8a26797523 100644 --- a/doctr/io/image/tensorflow.py +++ b/doctr/io/image/tensorflow.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/doctr/io/pdf.py b/doctr/io/pdf.py index b56c1317d5..6b526be157 100644 --- a/doctr/io/pdf.py +++ b/doctr/io/pdf.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/doctr/io/reader.py b/doctr/io/reader.py index e908d1ba9e..63ccefabdd 100644 --- a/doctr/io/reader.py +++ b/doctr/io/reader.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/doctr/models/_utils.py b/doctr/models/_utils.py index 3770075f38..e9bcd41202 100644 --- a/doctr/models/_utils.py +++ b/doctr/models/_utils.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/doctr/models/builder.py b/doctr/models/builder.py index 99de966e41..7036730307 100644 --- a/doctr/models/builder.py +++ b/doctr/models/builder.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/doctr/models/classification/magc_resnet/pytorch.py b/doctr/models/classification/magc_resnet/pytorch.py index 661697e516..fde8ce2c15 100644 --- a/doctr/models/classification/magc_resnet/pytorch.py +++ b/doctr/models/classification/magc_resnet/pytorch.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/doctr/models/classification/magc_resnet/tensorflow.py b/doctr/models/classification/magc_resnet/tensorflow.py index 35d9f59be7..457c78ef23 100644 --- a/doctr/models/classification/magc_resnet/tensorflow.py +++ b/doctr/models/classification/magc_resnet/tensorflow.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/doctr/models/classification/mobilenet/pytorch.py b/doctr/models/classification/mobilenet/pytorch.py index 306fb3d1c8..55617d77a7 100644 --- a/doctr/models/classification/mobilenet/pytorch.py +++ b/doctr/models/classification/mobilenet/pytorch.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/doctr/models/classification/mobilenet/tensorflow.py b/doctr/models/classification/mobilenet/tensorflow.py index 574b6f87d0..990d33d22f 100644 --- a/doctr/models/classification/mobilenet/tensorflow.py +++ b/doctr/models/classification/mobilenet/tensorflow.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/doctr/models/classification/predictor/pytorch.py b/doctr/models/classification/predictor/pytorch.py index 9626997581..5f0731f0a9 100644 --- a/doctr/models/classification/predictor/pytorch.py +++ b/doctr/models/classification/predictor/pytorch.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/doctr/models/classification/predictor/tensorflow.py b/doctr/models/classification/predictor/tensorflow.py index 904729277f..a19c313ba3 100644 --- a/doctr/models/classification/predictor/tensorflow.py +++ b/doctr/models/classification/predictor/tensorflow.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/doctr/models/classification/resnet/pytorch.py b/doctr/models/classification/resnet/pytorch.py index 3460be471c..0e2a59b0e2 100644 --- a/doctr/models/classification/resnet/pytorch.py +++ b/doctr/models/classification/resnet/pytorch.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/doctr/models/classification/resnet/tensorflow.py b/doctr/models/classification/resnet/tensorflow.py index 1bbc77cbfa..e2bc56a493 100644 --- a/doctr/models/classification/resnet/tensorflow.py +++ b/doctr/models/classification/resnet/tensorflow.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/doctr/models/classification/textnet/pytorch.py b/doctr/models/classification/textnet/pytorch.py index 3b1a3ff419..f31cd3f92e 100644 --- a/doctr/models/classification/textnet/pytorch.py +++ b/doctr/models/classification/textnet/pytorch.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/doctr/models/classification/textnet/tensorflow.py b/doctr/models/classification/textnet/tensorflow.py index 0eeb8894fc..a3d147603c 100644 --- a/doctr/models/classification/textnet/tensorflow.py +++ b/doctr/models/classification/textnet/tensorflow.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/doctr/models/classification/vgg/pytorch.py b/doctr/models/classification/vgg/pytorch.py index d2b224d08f..b12dc2a8a1 100644 --- a/doctr/models/classification/vgg/pytorch.py +++ b/doctr/models/classification/vgg/pytorch.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/doctr/models/classification/vgg/tensorflow.py b/doctr/models/classification/vgg/tensorflow.py index 4025257b4d..a7c49ffeb1 100644 --- a/doctr/models/classification/vgg/tensorflow.py +++ b/doctr/models/classification/vgg/tensorflow.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/doctr/models/classification/vit/pytorch.py b/doctr/models/classification/vit/pytorch.py index 55581447ca..3038209887 100644 --- a/doctr/models/classification/vit/pytorch.py +++ b/doctr/models/classification/vit/pytorch.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/doctr/models/classification/vit/tensorflow.py b/doctr/models/classification/vit/tensorflow.py index 51f0a969e3..2a496f1af0 100644 --- a/doctr/models/classification/vit/tensorflow.py +++ b/doctr/models/classification/vit/tensorflow.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/doctr/models/classification/zoo.py b/doctr/models/classification/zoo.py index c147e7f104..0d1df17492 100644 --- a/doctr/models/classification/zoo.py +++ b/doctr/models/classification/zoo.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/doctr/models/core.py b/doctr/models/core.py index d9f43652f9..504e9638c0 100644 --- a/doctr/models/core.py +++ b/doctr/models/core.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/doctr/models/detection/_utils/base.py b/doctr/models/detection/_utils/base.py index aabfe291f9..5cc4d2ba09 100644 --- a/doctr/models/detection/_utils/base.py +++ b/doctr/models/detection/_utils/base.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/doctr/models/detection/_utils/pytorch.py b/doctr/models/detection/_utils/pytorch.py index a0ef618422..5051ce6217 100644 --- a/doctr/models/detection/_utils/pytorch.py +++ b/doctr/models/detection/_utils/pytorch.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/doctr/models/detection/_utils/tensorflow.py b/doctr/models/detection/_utils/tensorflow.py index b02ed7cd22..860cf98182 100644 --- a/doctr/models/detection/_utils/tensorflow.py +++ b/doctr/models/detection/_utils/tensorflow.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/doctr/models/detection/core.py b/doctr/models/detection/core.py index 4d6009c66b..843093be08 100644 --- a/doctr/models/detection/core.py +++ b/doctr/models/detection/core.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/doctr/models/detection/differentiable_binarization/base.py b/doctr/models/detection/differentiable_binarization/base.py index fedeb58d3a..f8d42716d0 100644 --- a/doctr/models/detection/differentiable_binarization/base.py +++ b/doctr/models/detection/differentiable_binarization/base.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/doctr/models/detection/differentiable_binarization/pytorch.py b/doctr/models/detection/differentiable_binarization/pytorch.py index cad6a74aaf..5b82b47149 100644 --- a/doctr/models/detection/differentiable_binarization/pytorch.py +++ b/doctr/models/detection/differentiable_binarization/pytorch.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/doctr/models/detection/differentiable_binarization/tensorflow.py b/doctr/models/detection/differentiable_binarization/tensorflow.py index 9658039437..c01b96dfdc 100644 --- a/doctr/models/detection/differentiable_binarization/tensorflow.py +++ b/doctr/models/detection/differentiable_binarization/tensorflow.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/doctr/models/detection/fast/base.py b/doctr/models/detection/fast/base.py index 6691c948da..76a2ccaf60 100644 --- a/doctr/models/detection/fast/base.py +++ b/doctr/models/detection/fast/base.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/doctr/models/detection/fast/pytorch.py b/doctr/models/detection/fast/pytorch.py index 595004ba98..36986a4b73 100644 --- a/doctr/models/detection/fast/pytorch.py +++ b/doctr/models/detection/fast/pytorch.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/doctr/models/detection/fast/tensorflow.py b/doctr/models/detection/fast/tensorflow.py index 0e6f8d9a23..a62b94fe45 100644 --- a/doctr/models/detection/fast/tensorflow.py +++ b/doctr/models/detection/fast/tensorflow.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/doctr/models/detection/linknet/base.py b/doctr/models/detection/linknet/base.py index d86a57fbac..c02e858d16 100644 --- a/doctr/models/detection/linknet/base.py +++ b/doctr/models/detection/linknet/base.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/doctr/models/detection/linknet/pytorch.py b/doctr/models/detection/linknet/pytorch.py index ff6860718e..6a73fbe29e 100644 --- a/doctr/models/detection/linknet/pytorch.py +++ b/doctr/models/detection/linknet/pytorch.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/doctr/models/detection/linknet/tensorflow.py b/doctr/models/detection/linknet/tensorflow.py index 1ef8d1fd17..a6778fee8c 100644 --- a/doctr/models/detection/linknet/tensorflow.py +++ b/doctr/models/detection/linknet/tensorflow.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/doctr/models/detection/predictor/pytorch.py b/doctr/models/detection/predictor/pytorch.py index 8628e1fdb5..51904d9380 100644 --- a/doctr/models/detection/predictor/pytorch.py +++ b/doctr/models/detection/predictor/pytorch.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/doctr/models/detection/predictor/tensorflow.py b/doctr/models/detection/predictor/tensorflow.py index 137ce6b9c1..96ceac1d43 100644 --- a/doctr/models/detection/predictor/tensorflow.py +++ b/doctr/models/detection/predictor/tensorflow.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/doctr/models/detection/zoo.py b/doctr/models/detection/zoo.py index 6d87b6b1a9..8e23a6d6ec 100644 --- a/doctr/models/detection/zoo.py +++ b/doctr/models/detection/zoo.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/doctr/models/factory/hub.py b/doctr/models/factory/hub.py index 9ee2427105..6353cb7bb8 100644 --- a/doctr/models/factory/hub.py +++ b/doctr/models/factory/hub.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/doctr/models/kie_predictor/base.py b/doctr/models/kie_predictor/base.py index e85d2f5edd..7f153a00ed 100644 --- a/doctr/models/kie_predictor/base.py +++ b/doctr/models/kie_predictor/base.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/doctr/models/kie_predictor/pytorch.py b/doctr/models/kie_predictor/pytorch.py index edb2e16695..877f7684fc 100644 --- a/doctr/models/kie_predictor/pytorch.py +++ b/doctr/models/kie_predictor/pytorch.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/doctr/models/kie_predictor/tensorflow.py b/doctr/models/kie_predictor/tensorflow.py index 4fba9923d2..b3e2b8089d 100644 --- a/doctr/models/kie_predictor/tensorflow.py +++ b/doctr/models/kie_predictor/tensorflow.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/doctr/models/modules/layers/pytorch.py b/doctr/models/modules/layers/pytorch.py index da886e95fd..64e99dc120 100644 --- a/doctr/models/modules/layers/pytorch.py +++ b/doctr/models/modules/layers/pytorch.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/doctr/models/modules/layers/tensorflow.py b/doctr/models/modules/layers/tensorflow.py index 30599a49b4..694a1c27cd 100644 --- a/doctr/models/modules/layers/tensorflow.py +++ b/doctr/models/modules/layers/tensorflow.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/doctr/models/modules/transformer/pytorch.py b/doctr/models/modules/transformer/pytorch.py index 0303ac5882..68bde8d37a 100644 --- a/doctr/models/modules/transformer/pytorch.py +++ b/doctr/models/modules/transformer/pytorch.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/doctr/models/modules/transformer/tensorflow.py b/doctr/models/modules/transformer/tensorflow.py index 83beceaafb..85295b4b09 100644 --- a/doctr/models/modules/transformer/tensorflow.py +++ b/doctr/models/modules/transformer/tensorflow.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/doctr/models/modules/vision_transformer/pytorch.py b/doctr/models/modules/vision_transformer/pytorch.py index d7a6fb7808..668fda3938 100644 --- a/doctr/models/modules/vision_transformer/pytorch.py +++ b/doctr/models/modules/vision_transformer/pytorch.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/doctr/models/modules/vision_transformer/tensorflow.py b/doctr/models/modules/vision_transformer/tensorflow.py index 9f4e5e2524..b095887755 100644 --- a/doctr/models/modules/vision_transformer/tensorflow.py +++ b/doctr/models/modules/vision_transformer/tensorflow.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/doctr/models/predictor/base.py b/doctr/models/predictor/base.py index c4863525f8..b4b92449f5 100644 --- a/doctr/models/predictor/base.py +++ b/doctr/models/predictor/base.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/doctr/models/predictor/pytorch.py b/doctr/models/predictor/pytorch.py index fdf97b6f49..1312932805 100644 --- a/doctr/models/predictor/pytorch.py +++ b/doctr/models/predictor/pytorch.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/doctr/models/predictor/tensorflow.py b/doctr/models/predictor/tensorflow.py index 6afbe9b8df..275fb2f4ed 100644 --- a/doctr/models/predictor/tensorflow.py +++ b/doctr/models/predictor/tensorflow.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/doctr/models/preprocessor/pytorch.py b/doctr/models/preprocessor/pytorch.py index aec6e81f99..bcb91eef80 100644 --- a/doctr/models/preprocessor/pytorch.py +++ b/doctr/models/preprocessor/pytorch.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/doctr/models/preprocessor/tensorflow.py b/doctr/models/preprocessor/tensorflow.py index 370c345eb8..a4a3d50abf 100644 --- a/doctr/models/preprocessor/tensorflow.py +++ b/doctr/models/preprocessor/tensorflow.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/doctr/models/recognition/core.py b/doctr/models/recognition/core.py index 26cef1e736..fad7fd4085 100644 --- a/doctr/models/recognition/core.py +++ b/doctr/models/recognition/core.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/doctr/models/recognition/crnn/pytorch.py b/doctr/models/recognition/crnn/pytorch.py index bc77c98a24..862a7e4b6a 100644 --- a/doctr/models/recognition/crnn/pytorch.py +++ b/doctr/models/recognition/crnn/pytorch.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/doctr/models/recognition/crnn/tensorflow.py b/doctr/models/recognition/crnn/tensorflow.py index 2da25f5d67..93a11bf4ad 100644 --- a/doctr/models/recognition/crnn/tensorflow.py +++ b/doctr/models/recognition/crnn/tensorflow.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/doctr/models/recognition/master/base.py b/doctr/models/recognition/master/base.py index 79c8bc5d8c..55401aecda 100644 --- a/doctr/models/recognition/master/base.py +++ b/doctr/models/recognition/master/base.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/doctr/models/recognition/master/pytorch.py b/doctr/models/recognition/master/pytorch.py index 01b1df0735..b5b69f56fc 100644 --- a/doctr/models/recognition/master/pytorch.py +++ b/doctr/models/recognition/master/pytorch.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/doctr/models/recognition/master/tensorflow.py b/doctr/models/recognition/master/tensorflow.py index 3eca8d21d8..4afb139860 100644 --- a/doctr/models/recognition/master/tensorflow.py +++ b/doctr/models/recognition/master/tensorflow.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/doctr/models/recognition/parseq/base.py b/doctr/models/recognition/parseq/base.py index fc60cb4303..ff445ccab4 100644 --- a/doctr/models/recognition/parseq/base.py +++ b/doctr/models/recognition/parseq/base.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/doctr/models/recognition/parseq/pytorch.py b/doctr/models/recognition/parseq/pytorch.py index a2ee524ced..38f49adb4d 100644 --- a/doctr/models/recognition/parseq/pytorch.py +++ b/doctr/models/recognition/parseq/pytorch.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/doctr/models/recognition/parseq/tensorflow.py b/doctr/models/recognition/parseq/tensorflow.py index ded139e4c8..6644448a09 100644 --- a/doctr/models/recognition/parseq/tensorflow.py +++ b/doctr/models/recognition/parseq/tensorflow.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/doctr/models/recognition/predictor/_utils.py b/doctr/models/recognition/predictor/_utils.py index 582d426909..5afd7a7375 100644 --- a/doctr/models/recognition/predictor/_utils.py +++ b/doctr/models/recognition/predictor/_utils.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/doctr/models/recognition/predictor/pytorch.py b/doctr/models/recognition/predictor/pytorch.py index d3c3edf50c..4add330358 100644 --- a/doctr/models/recognition/predictor/pytorch.py +++ b/doctr/models/recognition/predictor/pytorch.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/doctr/models/recognition/predictor/tensorflow.py b/doctr/models/recognition/predictor/tensorflow.py index 45794f632a..071cb559cc 100644 --- a/doctr/models/recognition/predictor/tensorflow.py +++ b/doctr/models/recognition/predictor/tensorflow.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/doctr/models/recognition/sar/pytorch.py b/doctr/models/recognition/sar/pytorch.py index fbbae121d4..71f752a94a 100644 --- a/doctr/models/recognition/sar/pytorch.py +++ b/doctr/models/recognition/sar/pytorch.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/doctr/models/recognition/sar/tensorflow.py b/doctr/models/recognition/sar/tensorflow.py index ac88362378..67de55ef46 100644 --- a/doctr/models/recognition/sar/tensorflow.py +++ b/doctr/models/recognition/sar/tensorflow.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/doctr/models/recognition/utils.py b/doctr/models/recognition/utils.py index daa3c6d2d0..2cacb70bb4 100644 --- a/doctr/models/recognition/utils.py +++ b/doctr/models/recognition/utils.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/doctr/models/recognition/vitstr/base.py b/doctr/models/recognition/vitstr/base.py index 59f21badb2..adc78115f2 100644 --- a/doctr/models/recognition/vitstr/base.py +++ b/doctr/models/recognition/vitstr/base.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/doctr/models/recognition/vitstr/pytorch.py b/doctr/models/recognition/vitstr/pytorch.py index 7bd57793cc..51ecd2a1a6 100644 --- a/doctr/models/recognition/vitstr/pytorch.py +++ b/doctr/models/recognition/vitstr/pytorch.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/doctr/models/recognition/vitstr/tensorflow.py b/doctr/models/recognition/vitstr/tensorflow.py index 3865348b1f..ed351abc09 100644 --- a/doctr/models/recognition/vitstr/tensorflow.py +++ b/doctr/models/recognition/vitstr/tensorflow.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/doctr/models/recognition/zoo.py b/doctr/models/recognition/zoo.py index 56327f8a65..9aa38d1dca 100644 --- a/doctr/models/recognition/zoo.py +++ b/doctr/models/recognition/zoo.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/doctr/models/utils/pytorch.py b/doctr/models/utils/pytorch.py index 0582a4de2b..7251856f77 100644 --- a/doctr/models/utils/pytorch.py +++ b/doctr/models/utils/pytorch.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/doctr/models/utils/tensorflow.py b/doctr/models/utils/tensorflow.py index dcb70bdad7..2d93f285c1 100644 --- a/doctr/models/utils/tensorflow.py +++ b/doctr/models/utils/tensorflow.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/doctr/models/zoo.py b/doctr/models/zoo.py index b4d4264155..f41c5d2239 100644 --- a/doctr/models/zoo.py +++ b/doctr/models/zoo.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/doctr/transforms/functional/base.py b/doctr/transforms/functional/base.py index 70166ae3e0..aa6582c447 100644 --- a/doctr/transforms/functional/base.py +++ b/doctr/transforms/functional/base.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/doctr/transforms/functional/pytorch.py b/doctr/transforms/functional/pytorch.py index f66279795b..99f1bedfdd 100644 --- a/doctr/transforms/functional/pytorch.py +++ b/doctr/transforms/functional/pytorch.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/doctr/transforms/functional/tensorflow.py b/doctr/transforms/functional/tensorflow.py index 782e0f4fa4..f9603426ab 100644 --- a/doctr/transforms/functional/tensorflow.py +++ b/doctr/transforms/functional/tensorflow.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/doctr/transforms/modules/base.py b/doctr/transforms/modules/base.py index 5fd0bd37a1..b2a3307528 100644 --- a/doctr/transforms/modules/base.py +++ b/doctr/transforms/modules/base.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/doctr/transforms/modules/pytorch.py b/doctr/transforms/modules/pytorch.py index ee989a5949..a790c23792 100644 --- a/doctr/transforms/modules/pytorch.py +++ b/doctr/transforms/modules/pytorch.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/doctr/transforms/modules/tensorflow.py b/doctr/transforms/modules/tensorflow.py index 0d1f589173..c753fcae43 100644 --- a/doctr/transforms/modules/tensorflow.py +++ b/doctr/transforms/modules/tensorflow.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/doctr/utils/common_types.py b/doctr/utils/common_types.py index d2a0ce9b1d..f165c6a9a7 100644 --- a/doctr/utils/common_types.py +++ b/doctr/utils/common_types.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/doctr/utils/data.py b/doctr/utils/data.py index fb613b1d6d..7eea602006 100644 --- a/doctr/utils/data.py +++ b/doctr/utils/data.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/doctr/utils/fonts.py b/doctr/utils/fonts.py index 75279445dd..a464ff8950 100644 --- a/doctr/utils/fonts.py +++ b/doctr/utils/fonts.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/doctr/utils/geometry.py b/doctr/utils/geometry.py index b4660cd74b..52ad8fb908 100644 --- a/doctr/utils/geometry.py +++ b/doctr/utils/geometry.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/doctr/utils/metrics.py b/doctr/utils/metrics.py index 6cff2be8d0..170be60e53 100644 --- a/doctr/utils/metrics.py +++ b/doctr/utils/metrics.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/doctr/utils/multithreading.py b/doctr/utils/multithreading.py index 5ec710ad81..dd6de9ca1a 100644 --- a/doctr/utils/multithreading.py +++ b/doctr/utils/multithreading.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/doctr/utils/reconstitution.py b/doctr/utils/reconstitution.py index 6b12b6cab2..8000e9d607 100644 --- a/doctr/utils/reconstitution.py +++ b/doctr/utils/reconstitution.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/doctr/utils/repr.py b/doctr/utils/repr.py index 13fb7c7333..798fccd0c9 100644 --- a/doctr/utils/repr.py +++ b/doctr/utils/repr.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/doctr/utils/visualization.py b/doctr/utils/visualization.py index bea248ee84..8680c2ec84 100644 --- a/doctr/utils/visualization.py +++ b/doctr/utils/visualization.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/references/classification/latency_pytorch.py b/references/classification/latency_pytorch.py index d8be41937e..40b93eff27 100644 --- a/references/classification/latency_pytorch.py +++ b/references/classification/latency_pytorch.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/references/classification/latency_tensorflow.py b/references/classification/latency_tensorflow.py index 9ed7e16036..b0e55c0a37 100644 --- a/references/classification/latency_tensorflow.py +++ b/references/classification/latency_tensorflow.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/references/classification/train_pytorch_character.py b/references/classification/train_pytorch_character.py index bdca07a526..b6e7f2ebfb 100644 --- a/references/classification/train_pytorch_character.py +++ b/references/classification/train_pytorch_character.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/references/classification/train_pytorch_orientation.py b/references/classification/train_pytorch_orientation.py index aff149dea9..498c9fd919 100644 --- a/references/classification/train_pytorch_orientation.py +++ b/references/classification/train_pytorch_orientation.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/references/classification/train_tensorflow_character.py b/references/classification/train_tensorflow_character.py index 86aaecfbde..4b61619165 100644 --- a/references/classification/train_tensorflow_character.py +++ b/references/classification/train_tensorflow_character.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/references/classification/train_tensorflow_orientation.py b/references/classification/train_tensorflow_orientation.py index 9a6cb947d9..fc386977c9 100644 --- a/references/classification/train_tensorflow_orientation.py +++ b/references/classification/train_tensorflow_orientation.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/references/classification/utils.py b/references/classification/utils.py index a2c9ae5460..d48dcc90a3 100644 --- a/references/classification/utils.py +++ b/references/classification/utils.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/references/detection/evaluate_pytorch.py b/references/detection/evaluate_pytorch.py index 0cc0da1a7c..f717d8bb93 100644 --- a/references/detection/evaluate_pytorch.py +++ b/references/detection/evaluate_pytorch.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/references/detection/evaluate_tensorflow.py b/references/detection/evaluate_tensorflow.py index 2a7d32425f..d547aaad1e 100644 --- a/references/detection/evaluate_tensorflow.py +++ b/references/detection/evaluate_tensorflow.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/references/detection/latency_pytorch.py b/references/detection/latency_pytorch.py index 60951a6e63..37bfb90b67 100644 --- a/references/detection/latency_pytorch.py +++ b/references/detection/latency_pytorch.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/references/detection/latency_tensorflow.py b/references/detection/latency_tensorflow.py index 17cdf784a5..c933ac3f95 100644 --- a/references/detection/latency_tensorflow.py +++ b/references/detection/latency_tensorflow.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/references/detection/train_pytorch.py b/references/detection/train_pytorch.py index 75288d7f1e..f11694cf9d 100644 --- a/references/detection/train_pytorch.py +++ b/references/detection/train_pytorch.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/references/detection/train_pytorch_ddp.py b/references/detection/train_pytorch_ddp.py index e2d9ab0144..87b7bd8d5c 100644 --- a/references/detection/train_pytorch_ddp.py +++ b/references/detection/train_pytorch_ddp.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/references/detection/train_tensorflow.py b/references/detection/train_tensorflow.py index b52e106ba5..d9aada677a 100644 --- a/references/detection/train_tensorflow.py +++ b/references/detection/train_tensorflow.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/references/detection/utils.py b/references/detection/utils.py index ea8e2c269d..f41e1345c3 100644 --- a/references/detection/utils.py +++ b/references/detection/utils.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/references/recognition/evaluate_pytorch.py b/references/recognition/evaluate_pytorch.py index fee747759d..7025c54486 100644 --- a/references/recognition/evaluate_pytorch.py +++ b/references/recognition/evaluate_pytorch.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/references/recognition/evaluate_tensorflow.py b/references/recognition/evaluate_tensorflow.py index 6946236701..cea96ace1c 100644 --- a/references/recognition/evaluate_tensorflow.py +++ b/references/recognition/evaluate_tensorflow.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/references/recognition/latency_pytorch.py b/references/recognition/latency_pytorch.py index 9a8c0f0bf5..ec41c40fbf 100644 --- a/references/recognition/latency_pytorch.py +++ b/references/recognition/latency_pytorch.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/references/recognition/latency_tensorflow.py b/references/recognition/latency_tensorflow.py index 26bc2d6bc1..dcbff806d3 100644 --- a/references/recognition/latency_tensorflow.py +++ b/references/recognition/latency_tensorflow.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/references/recognition/train_pytorch.py b/references/recognition/train_pytorch.py index f4123acc6e..434b599a9b 100644 --- a/references/recognition/train_pytorch.py +++ b/references/recognition/train_pytorch.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/references/recognition/train_pytorch_ddp.py b/references/recognition/train_pytorch_ddp.py index f62b099576..54ab92c265 100644 --- a/references/recognition/train_pytorch_ddp.py +++ b/references/recognition/train_pytorch_ddp.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/references/recognition/train_tensorflow.py b/references/recognition/train_tensorflow.py index 4a088efa26..4a2180f29e 100644 --- a/references/recognition/train_tensorflow.py +++ b/references/recognition/train_tensorflow.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/references/recognition/utils.py b/references/recognition/utils.py index d4e2c3af88..f8962f1a07 100644 --- a/references/recognition/utils.py +++ b/references/recognition/utils.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/scripts/analyze.py b/scripts/analyze.py index fdffa30e48..7e466a788a 100644 --- a/scripts/analyze.py +++ b/scripts/analyze.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/scripts/collect_env.py b/scripts/collect_env.py index 8a51401953..ef2d086a79 100644 --- a/scripts/collect_env.py +++ b/scripts/collect_env.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/scripts/detect_text.py b/scripts/detect_text.py index e3ca08c7b0..02df71ffa7 100644 --- a/scripts/detect_text.py +++ b/scripts/detect_text.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/scripts/evaluate.py b/scripts/evaluate.py index 86dbc0e561..e56242cf46 100644 --- a/scripts/evaluate.py +++ b/scripts/evaluate.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/scripts/evaluate_kie.py b/scripts/evaluate_kie.py index ca17332e2c..964fac94c1 100644 --- a/scripts/evaluate_kie.py +++ b/scripts/evaluate_kie.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details. diff --git a/setup.py b/setup.py index b4da587ab3..c0c1bb7246 100644 --- a/setup.py +++ b/setup.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2024, Mindee. +# Copyright (C) 2021-2025, Mindee. # This program is licensed under the Apache License 2.0. # See LICENSE or go to for full license details.