diff --git a/.github/verify_pr_labels.py b/.github/verify_pr_labels.py index 470751ed4..3e622a746 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 188a7273f..6ce1df1fc 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 c767fc489..622f1307b 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 1c854e0e2..f601c92fe 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 73370e685..d48706de0 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 8822e39c6..d4a315021 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 f8e0bcafd..c09a95040 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 6084c5160..9c111ca59 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 7e8c73d23..01ceeaf80 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 606394d59..571ed4f3d 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 d43c8eff9..3d1dbf363 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 ece5fb48f..5695b3986 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 82a569fd5..6287d3cf4 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 40a9a87f4..615c41b28 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 3aca3007b..5d8ef6b52 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 765b521db..317f1f4e4 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 65f463da6..ba1f6f12d 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 08d5a2eed..b75f9e734 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 da4040c3b..f4eb6bc24 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 f0206cf03..9d646100b 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 50fb7f689..0c8e79aba 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 d96e81f6c..65028b50f 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 53e65f801..037a10635 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 ec4ebb685..2d14528dd 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 d3dbecbd7..01a4339f0 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 a71cb9bb5..9bd23f97c 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 73a70e241..569f23fcf 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 a4e1c6cc6..d528c3913 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 eb7e1d43a..80800470f 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 11c4e0493..d49917608 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 790fd01ef..b2889022a 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 8c17fa08a..ce25ce7d0 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 e544bdaf4..747918569 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 f47181305..929c438de 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 c10dff685..84c93bcc5 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 f5cfddf78..bf2c639b2 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 eb6b3fc1b..2191c5779 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 51e53540c..6227a18e7 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 99d6c6c8c..519ea2a28 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 2b8dc8432..640f35db1 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 77593694f..0c36caeb4 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 f91b76d64..cab91377d 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 8da37a78e..1c63d3aaa 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 1ce5596b1..6f5ab7d18 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 2f78401f5..dc9b7fcb6 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 21c0340a8..e6d62e992 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 5e82236a5..6cc085ec2 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 e2b01affd..49919b82e 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 b8dc8256c..8a2679752 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 b56c1317d..6b526be15 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 e908d1ba9..63ccefabd 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 3770075f3..e9bcd4120 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 99de966e4..703673030 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 661697e51..fde8ce2c1 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 35d9f59be..457c78ef2 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 306fb3d1c..55617d77a 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 574b6f87d..990d33d22 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 962699758..5f0731f0a 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 904729277..a19c313ba 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 3460be471..0e2a59b0e 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 1bbc77cbf..e2bc56a49 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 3b1a3ff41..f31cd3f92 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 0eeb8894f..a3d147603 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 d2b224d08..b12dc2a8a 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 4025257b4..a7c49ffeb 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 55581447c..303820988 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 51f0a969e..2a496f1af 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 c147e7f10..0d1df1749 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 d9f43652f..504e9638c 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 aabfe291f..5cc4d2ba0 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 a0ef61842..5051ce621 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 b02ed7cd2..860cf9818 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 4d6009c66..843093be0 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 fedeb58d3..f8d42716d 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 cad6a74aa..5b82b4714 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 965803943..c01b96dfd 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 6691c948d..76a2ccaf6 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 595004ba9..36986a4b7 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 0e6f8d9a2..a62b94fe4 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 d86a57fba..c02e858d1 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 ff6860718..6a73fbe29 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 1ef8d1fd1..a6778fee8 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 8628e1fdb..51904d938 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 137ce6b9c..96ceac1d4 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 6d87b6b1a..8e23a6d6e 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 9ee242710..6353cb7bb 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 e85d2f5ed..7f153a00e 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 edb2e1669..877f7684f 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 4fba9923d..b3e2b8089 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 da886e95f..64e99dc12 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 30599a49b..694a1c27c 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 0303ac588..68bde8d37 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 83beceaaf..85295b4b0 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 d7a6fb780..668fda393 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 9f4e5e252..b09588775 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 c4863525f..b4b92449f 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 fdf97b6f4..131293280 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 6afbe9b8d..275fb2f4e 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 aec6e81f9..bcb91eef8 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 370c345eb..a4a3d50ab 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 26cef1e73..fad7fd408 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 bc77c98a2..862a7e4b6 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 2da25f5d6..93a11bf4a 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 79c8bc5d8..55401aecd 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 01b1df073..b5b69f56f 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 3eca8d21d..4afb13986 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 fc60cb430..ff445ccab 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 a2ee524ce..38f49adb4 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 ded139e4c..6644448a0 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 582d42690..5afd7a737 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 d3c3edf50..4add33035 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 45794f632..071cb559c 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 fbbae121d..71f752a94 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 ac8836237..67de55ef4 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 daa3c6d2d..2cacb70bb 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 59f21badb..adc78115f 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 7bd57793c..51ecd2a1a 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 3865348b1..ed351abc0 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 56327f8a6..9aa38d1dc 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 0582a4de2..7251856f7 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 dcb70bdad..2d93f285c 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 b4d426415..f41c5d223 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 70166ae3e..aa6582c44 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 f66279795..99f1bedfd 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 782e0f4fa..f9603426a 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 5fd0bd37a..b2a330752 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 ee989a594..a790c2379 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 0d1f58917..c753fcae4 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 d2a0ce9b1..f165c6a9a 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 fb613b1d6..7eea60200 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 75279445d..a464ff895 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 b4660cd74..52ad8fb90 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 6cff2be8d..170be60e5 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 5ec710ad8..dd6de9ca1 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 6b12b6cab..8000e9d60 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 13fb7c733..798fccd0c 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 bea248ee8..8680c2ec8 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 d8be41937..40b93eff2 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 9ed7e1603..b0e55c0a3 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 bdca07a52..b6e7f2ebf 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 aff149dea..498c9fd91 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 86aaecfbd..4b6161916 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 9a6cb947d..fc386977c 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 a2c9ae546..d48dcc90a 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 0cc0da1a7..f717d8bb9 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 2a7d32425..d547aaad1 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 60951a6e6..37bfb90b6 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 17cdf784a..c933ac3f9 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 75288d7f1..f11694cf9 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 e2d9ab014..87b7bd8d5 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 b52e106ba..d9aada677 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 ea8e2c269..f41e1345c 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 fee747759..7025c5448 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 694623670..cea96ace1 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 9a8c0f0bf..ec41c40fb 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 26bc2d6bc..dcbff806d 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 f4123acc6..434b599a9 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 f62b09957..54ab92c26 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 4a088efa2..4a2180f29 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 d4e2c3af8..f8962f1a0 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 fdffa30e4..7e466a788 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 8a5140195..ef2d086a7 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 e3ca08c7b..02df71ffa 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 86dbc0e56..e56242cf4 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 ca17332e2..964fac94c 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 b4da587ab..c0c1bb724 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.