deepdoctection 0.39.5__py3-none-any.whl → 0.39.6__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of deepdoctection might be problematic. Click here for more details.
- deepdoctection/__init__.py +1 -1
- deepdoctection/datapoint/view.py +1 -1
- deepdoctection/datasets/registry.py +5 -2
- {deepdoctection-0.39.5.dist-info → deepdoctection-0.39.6.dist-info}/METADATA +1 -1
- {deepdoctection-0.39.5.dist-info → deepdoctection-0.39.6.dist-info}/RECORD +8 -8
- {deepdoctection-0.39.5.dist-info → deepdoctection-0.39.6.dist-info}/WHEEL +1 -1
- {deepdoctection-0.39.5.dist-info → deepdoctection-0.39.6.dist-info}/LICENSE +0 -0
- {deepdoctection-0.39.5.dist-info → deepdoctection-0.39.6.dist-info}/top_level.txt +0 -0
deepdoctection/__init__.py
CHANGED
deepdoctection/datapoint/view.py
CHANGED
|
@@ -433,7 +433,7 @@ class Table(Layout):
|
|
|
433
433
|
filter(
|
|
434
434
|
lambda c: column_number in (c.column_number, c.column_number + c.column_span - 1), # type: ignore
|
|
435
435
|
all_cells,
|
|
436
|
-
)
|
|
436
|
+
)
|
|
437
437
|
)
|
|
438
438
|
column_cells.sort(key=lambda c: c.row_number) # type: ignore
|
|
439
439
|
return column_cells # type: ignore
|
|
@@ -24,7 +24,7 @@ import catalogue # type: ignore
|
|
|
24
24
|
from tabulate import tabulate
|
|
25
25
|
from termcolor import colored
|
|
26
26
|
|
|
27
|
-
from .base import DatasetBase
|
|
27
|
+
from .base import DatasetBase, CustomDataset
|
|
28
28
|
|
|
29
29
|
__all__ = ["dataset_registry", "get_dataset", "print_dataset_infos"]
|
|
30
30
|
|
|
@@ -68,7 +68,10 @@ def print_dataset_infos(add_license: bool = True, add_info: bool = True) -> None
|
|
|
68
68
|
|
|
69
69
|
for dataset in data.items():
|
|
70
70
|
info = [dataset[0]]
|
|
71
|
-
|
|
71
|
+
if isinstance(dataset[1], CustomDataset):
|
|
72
|
+
ds = dataset[1]
|
|
73
|
+
else:
|
|
74
|
+
ds = dataset[1]()
|
|
72
75
|
info.append(ds.dataset_info.type)
|
|
73
76
|
if add_license:
|
|
74
77
|
info.append(ds.dataset_info.license) # pylint: disable=W0212
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
deepdoctection/__init__.py,sha256=
|
|
1
|
+
deepdoctection/__init__.py,sha256=F9uc6mjLFOYYGkT5UFs6M5YBxhcJlJ33G3-NSctzSF8,12754
|
|
2
2
|
deepdoctection/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
3
|
deepdoctection/analyzer/__init__.py,sha256=icClxrd20XutD6LxLgEPIWceSs4j_QfI3szCE-9BL2w,729
|
|
4
4
|
deepdoctection/analyzer/_config.py,sha256=1rfvVrp7cI2YLzpahD77aa1tZ_KFAIQ21DM1NWhxYiI,5058
|
|
@@ -20,13 +20,13 @@ deepdoctection/datapoint/annotation.py,sha256=FEgz4COxVDfjic0gG7kS6iHnWLBIgFnquQ
|
|
|
20
20
|
deepdoctection/datapoint/box.py,sha256=UAdSnLexvFyg4KK1u9kXdJxhaWTwRxTU-cnQcvl37Q8,23410
|
|
21
21
|
deepdoctection/datapoint/convert.py,sha256=gJbHY2V8nlMht1N5VdxTmWSsOeydpFPTJsaJHp6XGgE,7516
|
|
22
22
|
deepdoctection/datapoint/image.py,sha256=uGmlgF6zGptvNowZTqf-io4hbd8aFFngAvQqgdEQ5Kw,34040
|
|
23
|
-
deepdoctection/datapoint/view.py,sha256=
|
|
23
|
+
deepdoctection/datapoint/view.py,sha256=sK6Ta9R6jdOS7iwF05-uPjL2wSz8wHQ5RIGCatw7i2M,50774
|
|
24
24
|
deepdoctection/datasets/__init__.py,sha256=-A3aR90aDsHPmVM35JavfnQ2itYSCn3ujl4krRni1QU,1076
|
|
25
25
|
deepdoctection/datasets/adapter.py,sha256=Ly_vbOAgVI73V41FUccnSX1ECTOyesW_qsuvQuvOZbw,7796
|
|
26
26
|
deepdoctection/datasets/base.py,sha256=AZx-hw8Mchzb7FiOASt7zCbiybFNsM_diBzKXyC-auU,22618
|
|
27
27
|
deepdoctection/datasets/dataflow_builder.py,sha256=cYU2zV3gZW2bFvMHimlO9VIl3BAUaCwML08cCIQ8Em4,4107
|
|
28
28
|
deepdoctection/datasets/info.py,sha256=sC1QCOdLWFMooVmiShZ43sLUpAi3FK4d0fsLyl_9-gA,20548
|
|
29
|
-
deepdoctection/datasets/registry.py,sha256=
|
|
29
|
+
deepdoctection/datasets/registry.py,sha256=K6ZHCSIHuElOMWWN_KJjicHP-BUhNWBHBSOFbCGuvRg,3388
|
|
30
30
|
deepdoctection/datasets/save.py,sha256=Y9508Qqp8gIGN7pbGgVBBnkiC6NdCb9L2YR4wVvEUxM,3350
|
|
31
31
|
deepdoctection/datasets/instances/__init__.py,sha256=XEc_4vT5lDn6bbZID9ujDEumWu8Ec2W-QS4pI_bfWWE,1388
|
|
32
32
|
deepdoctection/datasets/instances/doclaynet.py,sha256=Az7USCqF0lMk1n1Dk59uUrBgBNAbKEjtUvZnCgdUH70,12286
|
|
@@ -141,8 +141,8 @@ deepdoctection/utils/transform.py,sha256=3kCgsEeRkG1efCdkfvj7tUFMs-e2jbjbflq826F
|
|
|
141
141
|
deepdoctection/utils/types.py,sha256=_3dmPdCIZNLbgU5QP5k_c5phDf18xLe1kYL6t2nM45s,2953
|
|
142
142
|
deepdoctection/utils/utils.py,sha256=csVs_VvCq4QBETPoE2JdTTL4MFYnD4xh-Js5vRb612g,6492
|
|
143
143
|
deepdoctection/utils/viz.py,sha256=Jf8ePNYWlpuyaS6SeTYQ4OyA3eNhtgjvAQZnGNdgHC0,27051
|
|
144
|
-
deepdoctection-0.39.
|
|
145
|
-
deepdoctection-0.39.
|
|
146
|
-
deepdoctection-0.39.
|
|
147
|
-
deepdoctection-0.39.
|
|
148
|
-
deepdoctection-0.39.
|
|
144
|
+
deepdoctection-0.39.6.dist-info/LICENSE,sha256=GQ0rUvuGdrMNEI3iHK5UQx6dIMU1QwAuyXsxUHn5MEQ,11351
|
|
145
|
+
deepdoctection-0.39.6.dist-info/METADATA,sha256=ezZIfdIjMmVp_60jLqco8OMeHQG_ksT4zEhflFLB5tI,19741
|
|
146
|
+
deepdoctection-0.39.6.dist-info/WHEEL,sha256=beeZ86-EfXScwlR_HKu4SllMC9wUEj_8Z_4FJ3egI2w,91
|
|
147
|
+
deepdoctection-0.39.6.dist-info/top_level.txt,sha256=hs2DdoOL9h4mnHhmO82BT4pz4QATIoOZ20PZmlnxFI8,15
|
|
148
|
+
deepdoctection-0.39.6.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|