Datasets:
Tasks:
Image Segmentation
Modalities:
Image
Formats:
imagefolder
Languages:
English
Size:
< 1K
License:
language: en | |
datasets: | |
- fashion-toy | |
task_categories: | |
- image-segmentation | |
license: mit | |
# Suanfamama Fashion Toy Dataset | |
## Dataset Description | |
This dataset contains fashion images and their corresponding segmentation masks | |
## Usage | |
To use this dataset, you can load it using the following code: | |
```python | |
from datasets import load_dataset | |
dataset = load_dataset("fashion-toy") | |
## TODOs | |
* LINT this toy dataset | |
''' | |
/usr/local/Caskroom/miniforge/base/envs/algmon/lib/python3.11/site-packages/datasets/load.py:929: FutureWarning: The repository for suanfamama_fashion_toy_dataset contains custom code which must be executed to correctly load the dataset. You can inspect the repository content at /Users/yinuo/Projects/suanfamama_fashion_toy_dataset/suanfamama_fashion_toy_dataset.py | |
You can avoid this message in future by passing the argument `trust_remote_code=True`. | |
Passing `trust_remote_code=True` will be mandatory to load this dataset from the next major release of `datasets`. | |
warnings.warn( | |
Generating train split: 0 examples [00:00, ? examples/s] | |
Traceback (most recent call last): | |
File "/usr/local/Caskroom/miniforge/base/envs/algmon/lib/python3.11/site-packages/datasets/builder.py", line 1748, in _prepare_split_single | |
for key, record in generator: | |
File "/Users/yinuo/.cache/huggingface/modules/datasets_modules/datasets/suanfamama_fashion_toy_dataset/c4a73fe7e822f3a9da29122494f9b03b2b3044615553686c25b0757964e48f7c/suanfamama_fashion_toy_dataset.py", line 47, in _generate_examples | |
image_files = sorted(os.listdir(images_dir)) | |
^^^^^^^^^^^^^^^^^^^^^^ | |
File "/usr/local/Caskroom/miniforge/base/envs/algmon/lib/python3.11/site-packages/datasets/streaming.py", line 75, in wrapper | |
return function(*args, download_config=download_config, **kwargs) | |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
File "/usr/local/Caskroom/miniforge/base/envs/algmon/lib/python3.11/site-packages/datasets/utils/file_utils.py", line 1256, in xlistdir | |
return os.listdir(path) | |
^^^^^^^^^^^^^^^^ | |
FileNotFoundError: [Errno 2] No such file or directory: './train/cloth' | |
''' |