Отключил глубокое копирование при аугментации.
Some checks are pending
Build/Publish Develop Docs / deploy (push) Waiting to run

This commit is contained in:
2025-07-02 13:12:54 +03:00
parent 5843976bb3
commit a4b79e12ee

View File

@@ -1296,10 +1296,8 @@ class MultiLabelEncode(BaseRecLabelEncode):
)
def __call__(self, data):
data_copy = copy.copy(data)
print(data_copy)
data_ctc = copy.deepcopy(data)
data_gtc = copy.deepcopy(data)
data_ctc = copy.copy(data)
data_gtc = copy.copy(data)
data_out = dict()
data_out["img_path"] = data.get("img_path", None)
data_out["image"] = data["image"]