tfds-nightly 4.9.9.dev202509050044__py3-none-any.whl → 4.9.9.dev202509070044__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.
- tensorflow_datasets/datasets/lvis/checksums.tsv +1 -0
- tensorflow_datasets/datasets/lvis/lvis_dataset_builder.py +17 -8
- tensorflow_datasets/datasets/lvis/lvis_dataset_builder_test.py +1 -1
- {tfds_nightly-4.9.9.dev202509050044.dist-info → tfds_nightly-4.9.9.dev202509070044.dist-info}/METADATA +1 -1
- {tfds_nightly-4.9.9.dev202509050044.dist-info → tfds_nightly-4.9.9.dev202509070044.dist-info}/RECORD +10 -10
- {tfds_nightly-4.9.9.dev202509050044.dist-info → tfds_nightly-4.9.9.dev202509070044.dist-info}/WHEEL +0 -0
- {tfds_nightly-4.9.9.dev202509050044.dist-info → tfds_nightly-4.9.9.dev202509070044.dist-info}/entry_points.txt +0 -0
- {tfds_nightly-4.9.9.dev202509050044.dist-info → tfds_nightly-4.9.9.dev202509070044.dist-info}/licenses/AUTHORS +0 -0
- {tfds_nightly-4.9.9.dev202509050044.dist-info → tfds_nightly-4.9.9.dev202509070044.dist-info}/licenses/LICENSE +0 -0
- {tfds_nightly-4.9.9.dev202509050044.dist-info → tfds_nightly-4.9.9.dev202509070044.dist-info}/top_level.txt +0 -0
@@ -4,4 +4,5 @@ http://images.cocodataset.org/zips/val2017.zip 815585330 4f7e2ccb2866ec5041993c9
|
|
4
4
|
https://dl.fbaipublicfiles.com/LVIS/lvis_v1_image_info_test_dev.json.zip 384629 bbe4880cef768f3c14ea903d31dcce9db24916cf9e9f1f76d1a022120f47254b lvis_v1_image_info_test_dev.json.zip
|
5
5
|
https://dl.fbaipublicfiles.com/LVIS/lvis_v1_train.json.zip 350264821 334a4caa374030a7817cf050364525e910f7960f9b6968cef47cffbf3893f8ba lvis_v1_train.json.zip
|
6
6
|
https://dl.fbaipublicfiles.com/LVIS/lvis_v1_val.json.zip 64026968 5cae9a3c79aadb667550c2b5dcf7f4d86e059a41ec91ef690225b667e28e9ba5 lvis_v1_val.json.zip
|
7
|
+
https://huggingface.co/GLIPModel/GLIP/resolve/main/lvis_v1_minival_inserted_image_name.json 35463626 02301f6ccd89d1ee3d35112cb57d000c3396f34e4073066c90b2c1fbf47b55ce lvis_v1_minival_inserted_image_name.json
|
7
8
|
https://nyu.box.com/shared/static/2yk9x8az9pnlsy2v8gd95yncwn2q7vj6.zip 1587847 13b6a7121a1d9716490b1e2778c4866d640e9059b01de5ca1277fdda7f70967d lvis_v1_minival.zip
|
@@ -25,7 +25,7 @@ from etils import epath
|
|
25
25
|
import numpy as np
|
26
26
|
import tensorflow_datasets.public_api as tfds
|
27
27
|
|
28
|
-
|
28
|
+
_EXTRACT_URLS = {
|
29
29
|
'train_annotation': (
|
30
30
|
'https://dl.fbaipublicfiles.com/LVIS/lvis_v1_train.json.zip'
|
31
31
|
),
|
@@ -34,11 +34,16 @@ _URLS = {
|
|
34
34
|
'https://dl.fbaipublicfiles.com/LVIS/lvis_v1_val.json.zip'
|
35
35
|
),
|
36
36
|
'validation_images': 'http://images.cocodataset.org/zips/val2017.zip',
|
37
|
-
'test_annotation':
|
37
|
+
'test_annotation': (
|
38
|
+
'https://dl.fbaipublicfiles.com/LVIS/lvis_v1_image_info_test_dev.json.zip'
|
39
|
+
),
|
38
40
|
'test_images': 'http://images.cocodataset.org/zips/test2017.zip',
|
39
|
-
|
41
|
+
}
|
42
|
+
_URLS = {
|
43
|
+
# Minival from
|
44
|
+
# https://gitlab.com/YuanHuan_Pro/YOLO-World/-/blob/master/docs/data.md:
|
40
45
|
'minival_annotation': (
|
41
|
-
'https://
|
46
|
+
'https://huggingface.co/GLIPModel/GLIP/resolve/main/lvis_v1_minival_inserted_image_name.json'
|
42
47
|
),
|
43
48
|
}
|
44
49
|
|
@@ -71,13 +76,14 @@ _NUM_CLASSES = 1203
|
|
71
76
|
class Builder(tfds.core.GeneratorBasedBuilder):
|
72
77
|
"""DatasetBuilder for lvis dataset."""
|
73
78
|
|
74
|
-
VERSION = tfds.core.Version('1.
|
79
|
+
VERSION = tfds.core.Version('1.4.0')
|
75
80
|
RELEASE_NOTES = {
|
76
81
|
'1.1.0': (
|
77
82
|
'Added fields `neg_category_ids` and `not_exhaustive_category_ids`.'
|
78
83
|
),
|
79
84
|
'1.2.0': 'Added class names.',
|
80
85
|
'1.3.0': 'Added minival split.',
|
86
|
+
'1.4.0': 'Added segmentation masks to the minival split.',
|
81
87
|
}
|
82
88
|
|
83
89
|
def _info(self) -> tfds.core.DatasetInfo:
|
@@ -116,7 +122,10 @@ class Builder(tfds.core.GeneratorBasedBuilder):
|
|
116
122
|
|
117
123
|
def _split_generators(self, dl_manager: tfds.download.DownloadManager):
|
118
124
|
"""Returns SplitGenerators."""
|
119
|
-
paths =
|
125
|
+
paths = {
|
126
|
+
**dl_manager.download_and_extract(_EXTRACT_URLS),
|
127
|
+
**dl_manager.download(_URLS),
|
128
|
+
}
|
120
129
|
image_dirs = [
|
121
130
|
paths['train_images'] / 'train2017',
|
122
131
|
paths['validation_images'] / 'val2017',
|
@@ -135,7 +144,7 @@ class Builder(tfds.core.GeneratorBasedBuilder):
|
|
135
144
|
),
|
136
145
|
'minival': self._generate_examples(
|
137
146
|
image_dirs,
|
138
|
-
paths['minival_annotation']
|
147
|
+
paths['minival_annotation'],
|
139
148
|
),
|
140
149
|
}
|
141
150
|
|
@@ -169,7 +178,7 @@ class Builder(tfds.core.GeneratorBasedBuilder):
|
|
169
178
|
'bbox': _build_bbox(image_info, *inst['bbox']),
|
170
179
|
'label': inst['category_id'] - 1,
|
171
180
|
'segmentation': _build_segmentation_mask(
|
172
|
-
image_info, inst
|
181
|
+
image_info, inst['segmentation']
|
173
182
|
),
|
174
183
|
})
|
175
184
|
return image_info['id'], example
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: tfds-nightly
|
3
|
-
Version: 4.9.9.
|
3
|
+
Version: 4.9.9.dev202509070044
|
4
4
|
Summary: tensorflow/datasets is a library of datasets ready to use with TensorFlow.
|
5
5
|
Home-page: https://github.com/tensorflow/datasets
|
6
6
|
Download-URL: https://github.com/tensorflow/datasets/tags
|
{tfds_nightly-4.9.9.dev202509050044.dist-info → tfds_nightly-4.9.9.dev202509070044.dist-info}/RECORD
RENAMED
@@ -884,10 +884,10 @@ tensorflow_datasets/datasets/lvis/CITATIONS.bib,sha256=48fTd93Fe8UaVahU01fVefBsl
|
|
884
884
|
tensorflow_datasets/datasets/lvis/README.md,sha256=Ydfa6grVWv5dw7mVX09Yg88xG5qMmrqXl5r-3cqCf28,60
|
885
885
|
tensorflow_datasets/datasets/lvis/TAGS.txt,sha256=rHkvxLMpnZvL9FJlJRfs-fwA_gawmkWIEXq9h_uHY2o,107
|
886
886
|
tensorflow_datasets/datasets/lvis/__init__.py,sha256=eFqnTjU7s5iubj6XcKoU8lZUSHecOdnebZFm1vTkjbA,612
|
887
|
-
tensorflow_datasets/datasets/lvis/checksums.tsv,sha256=
|
887
|
+
tensorflow_datasets/datasets/lvis/checksums.tsv,sha256=7e9huxxgNCNfo0QxWJY_h5OBTS3RFBPeQOEWZCm_dpw,1273
|
888
888
|
tensorflow_datasets/datasets/lvis/classes.txt,sha256=7AKQ2Gp9drf3BXya8H6iD7eIiz4agfXDIAqgcQYoG40,11977
|
889
|
-
tensorflow_datasets/datasets/lvis/lvis_dataset_builder.py,sha256=
|
890
|
-
tensorflow_datasets/datasets/lvis/lvis_dataset_builder_test.py,sha256=
|
889
|
+
tensorflow_datasets/datasets/lvis/lvis_dataset_builder.py,sha256=CnSJTCqfdcUV8lHjRBS2_yMM6nH-bj0q1sjpLekUfNU,8430
|
890
|
+
tensorflow_datasets/datasets/lvis/lvis_dataset_builder_test.py,sha256=c46IQ-9_Oa0wTZ2QC4pMaxxiJ6zeC94l0omO8uKdST4,1366
|
891
891
|
tensorflow_datasets/datasets/malaria/CITATIONS.bib,sha256=px7oYLvEExRjvZcUiPzFBokiX3KylAAgrDD0-x49eqo,452
|
892
892
|
tensorflow_datasets/datasets/malaria/README.md,sha256=HJ6zPanQIpbgMtVs2cwOt4TPgtI46RB4a86Fo8nCRlw,175
|
893
893
|
tensorflow_datasets/datasets/malaria/TAGS.txt,sha256=VGiea2bi3F9sXp1_nt3az-dKBMyNvrzhZ5qu1GgbGOY,52
|
@@ -2471,10 +2471,10 @@ tensorflow_datasets/vision_language/wit/wit_test.py,sha256=PXS8DMNW-MDrT2p5oy4Ic
|
|
2471
2471
|
tensorflow_datasets/vision_language/wit_kaggle/__init__.py,sha256=vGwSGeM8WE4Q-l0-eEE1sBojmk6YT0l1OO60AWa4Q40,719
|
2472
2472
|
tensorflow_datasets/vision_language/wit_kaggle/wit_kaggle.py,sha256=q-vX_FBzIwsFxL4sY9vuyQ3UQD2PLM4yhUR4U6l-qao,16903
|
2473
2473
|
tensorflow_datasets/vision_language/wit_kaggle/wit_kaggle_test.py,sha256=ZymHT1NkmD-pUnh3BmM3_g30c5afsWYnmqDD9dVyDSA,1778
|
2474
|
-
tfds_nightly-4.9.9.
|
2475
|
-
tfds_nightly-4.9.9.
|
2476
|
-
tfds_nightly-4.9.9.
|
2477
|
-
tfds_nightly-4.9.9.
|
2478
|
-
tfds_nightly-4.9.9.
|
2479
|
-
tfds_nightly-4.9.9.
|
2480
|
-
tfds_nightly-4.9.9.
|
2474
|
+
tfds_nightly-4.9.9.dev202509070044.dist-info/licenses/AUTHORS,sha256=nvBG4WwfgjuOu1oZkuQKw9kg7X6rve679ObS-YDDmXg,309
|
2475
|
+
tfds_nightly-4.9.9.dev202509070044.dist-info/licenses/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
|
2476
|
+
tfds_nightly-4.9.9.dev202509070044.dist-info/METADATA,sha256=yppZ1a0sRZKLho0e22QDdA1OkgSylSeX6kfQOFJd_3o,11291
|
2477
|
+
tfds_nightly-4.9.9.dev202509070044.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
2478
|
+
tfds_nightly-4.9.9.dev202509070044.dist-info/entry_points.txt,sha256=eHEL7nF5y1uCY2FgkuYIdE062epJXlAQTSdq89px4p4,73
|
2479
|
+
tfds_nightly-4.9.9.dev202509070044.dist-info/top_level.txt,sha256=bAevmk9209s_oxVZVlN6hSDIVS423qrMQvmcWSvW4do,20
|
2480
|
+
tfds_nightly-4.9.9.dev202509070044.dist-info/RECORD,,
|
{tfds_nightly-4.9.9.dev202509050044.dist-info → tfds_nightly-4.9.9.dev202509070044.dist-info}/WHEEL
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|