The dataset viewer is not available for this split.
Error code: StreamingRowsError
Exception: AttributeError
Message: 'float' object has no attribute 'read'
Traceback: Traceback (most recent call last):
File "/src/services/worker/.venv/lib/python3.9/site-packages/PIL/Image.py", line 3240, in open
fp.seek(0)
AttributeError: 'float' object has no attribute 'seek'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/src/services/worker/src/worker/utils.py", line 264, in get_rows_or_raise
return get_rows(
File "/src/services/worker/src/worker/utils.py", line 205, in decorator
return func(*args, **kwargs)
File "/src/services/worker/src/worker/utils.py", line 242, in get_rows
rows_plus_one = list(itertools.islice(ds, rows_max_number + 1))
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/iterable_dataset.py", line 1379, in __iter__
for key, example in ex_iterable:
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/iterable_dataset.py", line 233, in __iter__
yield from self.generate_examples_fn(**self.kwargs)
File "/tmp/modules-cache/datasets_modules/datasets/TrainingDataPro--face_masks/13123688ca313c0e2ba93fbe53b988387a8c30dc994c1f220a039ce5adb2524c/face_masks.py", line 136, in _generate_examples
data = {
File "/tmp/modules-cache/datasets_modules/datasets/TrainingDataPro--face_masks/13123688ca313c0e2ba93fbe53b988387a8c30dc994c1f220a039ce5adb2524c/face_masks.py", line 137, in <dictcomp>
f'photo_{row[5]}': load_image_file(row[7])
File "/tmp/modules-cache/datasets_modules/datasets/TrainingDataPro--face_masks/13123688ca313c0e2ba93fbe53b988387a8c30dc994c1f220a039ce5adb2524c/face_masks.py", line 74, in load_image_file
img = PIL.Image.open(file)
File "/src/services/worker/.venv/lib/python3.9/site-packages/PIL/Image.py", line 3242, in open
fp = io.BytesIO(fp.read())
AttributeError: 'float' object has no attribute 'read'Need help to make the dataset viewer work? Open a discussion for direct support.
Face Mask Detection
Dataset includes 250 000 images, 4 types of mask worn on 28 000 unique faces. All images were collected using the Toloka.ai crowdsourcing service and validated by TrainingData.pro
Get the dataset
This is just an example of the data
Leave a request on https://trainingdata.pro/data-market to discuss your requirements, learn about the price and buy the dataset.
File with the extension .csv
includes the following information for each media file:
- WorkerId: the identifier of the person who provided the media file,
- Country: the country of origin of the person,
- Age: the age of the person,
- Sex: the gender of the person,
- Type: the type of media file
- Link: the URL to access the media file
Folder "img" with media files
- containg all the photos which correspond to the data in the .csv file
How it works: go to the first folder and you will make sure that it contains media files taken by a person whose parameters are specified in the first 4 lines of the .csv file.
**TrainingData**
More datasets in TrainingData's Kaggle account: https://www.kaggle.com/trainingdatapro/datasets
TrainingData's GitHub: https://github.com/Trainingdata-datamarket/TrainingData_All_datasets
- Downloads last month
- 3
