[MASK] is All You Need
Collection
Code, dataset, and pretrained model • 6 items • Updated • 9
Error code: DatasetGenerationError
Exception: TypeError
Message: int() argument must be a string, a bytes-like object or a real number, not 'NoneType'
Traceback: Traceback (most recent call last):
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1520, in _prepare_split_single
for key, record in generator:
^^^^^^^^^
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 613, in wrapped
for item in generator(*args, **kwargs):
~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/webdataset/webdataset.py", line 130, in _generate_examples
for example_idx, example in enumerate(self._get_pipeline_from_tar(tar_path, tar_iterator)):
~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/webdataset/webdataset.py", line 34, in _get_pipeline_from_tar
for filename, f in tar_iterator:
^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/utils/track.py", line 49, in __iter__
for x in self.generator(*self.args):
~~~~~~~~~~~~~~^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/utils/file_utils.py", line 1405, in _iter_from_urlpath
with xopen(urlpath, "rb", download_config=download_config, block_size=0) as f:
~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/utils/file_utils.py", line 982, in xopen
file_obj = fs.open(paths[0], mode)
File "<string>", line 3, in open
File "/usr/local/lib/python3.14/unittest/mock.py", line 1176, in __call__
return self._mock_call(*args, **kwargs)
~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/unittest/mock.py", line 1180, in _mock_call
return self._execute_mock_call(*args, **kwargs)
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/unittest/mock.py", line 1247, in _execute_mock_call
result = effect(*args, **kwargs)
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 786, in wrapped
tracker.files[urlpath] = {"read": 0, "size": int(f.size)}
~~~^^^^^^^^
TypeError: int() argument must be a string, a bytes-like object or a real number, not 'NoneType'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1369, in compute_config_parquet_and_info_response
parquet_operations, partial, estimated_dataset_info = stream_convert_to_parquet(
~~~~~~~~~~~~~~~~~~~~~~~~~^
builder, max_dataset_size_bytes=max_dataset_size_bytes
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 948, in stream_convert_to_parquet
builder._prepare_split(split_generator=splits_generators[split], file_format="parquet")
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1382, in _prepare_split
for job_id, done, content in self._prepare_split_single(
~~~~~~~~~~~~~~~~~~~~~~~~~~^
gen_kwargs=gen_kwargs, job_id=job_id, **_prepare_split_args
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
):
^
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1560, in _prepare_split_single
raise DatasetGenerationError("An error occurred while generating the dataset") from e
datasets.exceptions.DatasetGenerationError: An error occurred while generating the datasetNeed help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
__key__ string | __url__ string | caption.json sequence | caption_feat.npy sequence | indices.npy sequence |
|---|---|---|---|---|
0000050398 | hf://datasets/taohu/coco_wds_indices@8c4b8838b519c0288ab2816cb799039cd00d3d59/train-000150.tar | ["A man eating a hot dog on a bun.","A man eating something at a sporting event.","A man takes a bit(...TRUNCATED) | [[[-0.38837653398513794,0.02294357307255268,-0.05219665542244911,-0.18406081199645996,-0.02731857262(...TRUNCATED) | [[11203,1081,778,12843,11848,3459,5323,11089,14965,11774,13744,12830,1009,6704,3186,10724,5179,5055,(...TRUNCATED) |
0000050399 | hf://datasets/taohu/coco_wds_indices@8c4b8838b519c0288ab2816cb799039cd00d3d59/train-000150.tar | ["Cars at a busy intersection just before dark.","Street view of an intersection outside an office b(...TRUNCATED) | [[[-0.38837653398513794,0.02294357307255268,-0.05219665542244911,-0.18406081199645996,-0.02731857262(...TRUNCATED) | [[4544,7186,740,1575,7770,740,5784,740,7186,16140,5364,1575,16322,11472,16322,13147,740,8017,1575,74(...TRUNCATED) |
0000050400 | hf://datasets/taohu/coco_wds_indices@8c4b8838b519c0288ab2816cb799039cd00d3d59/train-000150.tar | ["Snowboarder starting a run down a small slope. ","A man riding a snowboard down the side of a snow(...TRUNCATED) | [[[-0.38837653398513794,0.02294357307255268,-0.05219665542244911,-0.18406081199645996,-0.02731857262(...TRUNCATED) | [[10941,4842,766,2317,766,2317,766,11173,2317,16105,2317,11627,8004,6855,16105,2317,766,5987,766,623(...TRUNCATED) |
0000050401 | hf://datasets/taohu/coco_wds_indices@8c4b8838b519c0288ab2816cb799039cd00d3d59/train-000150.tar | ["A man riding a snowboard down a snow covered slope.","there is a snow boarder that is going down a(...TRUNCATED) | [[[-0.38837653398513794,0.02294357307255268,-0.05219665542244911,-0.18406081199645996,-0.02731857262(...TRUNCATED) | [[16144,11848,1440,6527,8015,15084,5728,10675,11298,5719,7411,11087,12745,14340,14031,8756,4509,8324(...TRUNCATED) |
0000050402 | hf://datasets/taohu/coco_wds_indices@8c4b8838b519c0288ab2816cb799039cd00d3d59/train-000150.tar | ["A group of people riding skis across a snow covered ground.","Men walking up the slope with their (...TRUNCATED) | [[[-0.38837653398513794,0.02294357307255268,-0.05219665542244911,-0.18406081199645996,-0.02731857262(...TRUNCATED) | [[4842,8948,10941,9390,1478,1198,10941,9390,2317,2317,10941,1198,2317,4544,10941,9390,1198,11173,107(...TRUNCATED) |
0000050403 | hf://datasets/taohu/coco_wds_indices@8c4b8838b519c0288ab2816cb799039cd00d3d59/train-000150.tar | ["Three hot air balloons fly above sheep in a field.","A group of sheep grazing and hot air balloons(...TRUNCATED) | [[[-0.38837653398513794,0.02294357307255268,-0.05219665542244911,-0.18406081199645996,-0.02731857262(...TRUNCATED) | [[11759,9010,6170,10557,2815,15690,1693,7276,10120,8955,14705,277,15839,6935,10935,5362,2815,7678,91(...TRUNCATED) |
0000050404 | hf://datasets/taohu/coco_wds_indices@8c4b8838b519c0288ab2816cb799039cd00d3d59/train-000150.tar | ["A man prepares to hit a tennis ball.","A man holding a tennis racquet in front of a tennis ball.",(...TRUNCATED) | [[[-0.38837653398513794,0.02294357307255268,-0.05219665542244911,-0.18406081199645996,-0.02731857262(...TRUNCATED) | [[14532,1776,14532,10265,503,6347,2108,14394,13859,12900,15218,7186,9940,11298,12900,14557,8380,6385(...TRUNCATED) |
0000050405 | hf://datasets/taohu/coco_wds_indices@8c4b8838b519c0288ab2816cb799039cd00d3d59/train-000150.tar | ["A large passenger jet sitting on an airport runway.","The airplane is preparing for take off while(...TRUNCATED) | [[[-0.38837653398513794,0.02294357307255268,-0.05219665542244911,-0.18406081199645996,-0.02731857262(...TRUNCATED) | [[13519,8067,7985,10455,6330,14851,12456,9968,10336,14798,5306,5494,14532,13550,14085,1384,11706,805(...TRUNCATED) |
0000050406 | hf://datasets/taohu/coco_wds_indices@8c4b8838b519c0288ab2816cb799039cd00d3d59/train-000150.tar | ["A woman taking a ticket from a parking meter and cars parked nearby","A woman putting money into a(...TRUNCATED) | [[[-0.38837653398513794,0.02294357307255268,-0.05219665542244911,-0.18406081199645996,-0.02731857262(...TRUNCATED) | [[10685,14561,778,10401,10557,3184,6630,987,12778,11951,9304,10869,9429,9192,13756,3688,12830,778,14(...TRUNCATED) |
0000050407 | hf://datasets/taohu/coco_wds_indices@8c4b8838b519c0288ab2816cb799039cd00d3d59/train-000150.tar | ["A groups of men riding on the backs of elephants through a lake.","Trained elephants carry passeng(...TRUNCATED) | [[[-0.38837653398513794,0.02294357307255268,-0.05219665542244911,-0.18406081199645996,-0.02731857262(...TRUNCATED) | [[109,10111,4335,16311,8274,1575,8811,15839,8955,1218,8955,8732,10792,900,14292,14448,3776,6630,6429(...TRUNCATED) |
No dataset card yet