The dataset viewer is not available for this subset.
Exception: HfHubHTTPError Message: 504 Server Error: Gateway Time-out for url: https://huggingface.co/api/datasets/hayden-donnelly/db-sfw-512px-character-crops/revision/13f484c301262c10cb143ddff69164d9b0a7cc1f <html> <head><title>504 Gateway Time-out</title></head> <body> <center><h1>504 Gateway Time-out</h1></center> </body> </html> Traceback: Traceback (most recent call last): File "/src/services/worker/src/worker/job_runners/config/split_names.py", line 65, in compute_split_names_from_streaming_response for split in get_dataset_split_names( File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/inspect.py", line 352, in get_dataset_split_names info = get_dataset_config_info( File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/inspect.py", line 277, in get_dataset_config_info builder = load_dataset_builder( File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/load.py", line 1853, in load_dataset_builder dataset_module = dataset_module_factory( File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/load.py", line 1729, in dataset_module_factory raise e1 from None File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/load.py", line 1686, in dataset_module_factory return HubDatasetModuleFactoryWithoutScript( File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/load.py", line 1064, in get_module patterns = get_data_patterns(base_path, download_config=self.download_config) File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/data_files.py", line 501, in get_data_patterns return _get_data_files_patterns(resolver) File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/data_files.py", line 275, in _get_data_files_patterns data_files = pattern_resolver(pattern) File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/data_files.py", line 388, in resolve_pattern for filepath, info in fs.glob(pattern, detail=True, **glob_kwargs).items() File "/src/services/worker/.venv/lib/python3.9/site-packages/huggingface_hub/hf_file_system.py", line 408, in glob path = self.resolve_path(path, revision=kwargs.get("revision")).unresolve() File "/src/services/worker/.venv/lib/python3.9/site-packages/huggingface_hub/hf_file_system.py", line 175, in resolve_path repo_and_revision_exist, err = self._repo_and_revision_exist(repo_type, repo_id, revision) File "/src/services/worker/.venv/lib/python3.9/site-packages/huggingface_hub/hf_file_system.py", line 121, in _repo_and_revision_exist self._api.repo_info( File "/src/services/worker/.venv/lib/python3.9/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn return fn(*args, **kwargs) File "/src/services/worker/.venv/lib/python3.9/site-packages/huggingface_hub/hf_api.py", line 2682, in repo_info return method( File "/src/services/worker/.venv/lib/python3.9/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn return fn(*args, **kwargs) File "/src/services/worker/.venv/lib/python3.9/site-packages/huggingface_hub/hf_api.py", line 2540, in dataset_info hf_raise_for_status(r) File "/src/services/worker/.venv/lib/python3.9/site-packages/huggingface_hub/utils/_http.py", line 477, in hf_raise_for_status raise _format(HfHubHTTPError, str(e), response) from e huggingface_hub.errors.HfHubHTTPError: 504 Server Error: Gateway Time-out for url: https://huggingface.co/api/datasets/hayden-donnelly/db-sfw-512px-character-crops/revision/13f484c301262c10cb143ddff69164d9b0a7cc1f <html> <head><title>504 Gateway Time-out</title></head> <body> <center><h1>504 Gateway Time-out</h1></center> </body> </html>
Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
Danbooru SFW 512px Character Crops
This dataset includes image and bounding box pairs where the images are samples from Danbooru 2021 SFW and the bounding boxes are crops of the central character(s). It can be used to train a model that automatically crops the base dataset in order to create a cleaner and more character-centric version. Importantly, the crops aim to remove artifacts such as horizontal/vertical bars that could negatively impact performance on image generation tasks.
Bounding Boxes
The base images are all 512x512, the bounding boxes represent crops with a maximium size of 512x512 and a minimum size of 128x128. Each bounding box is represented as a 3-dimensional vector [x, y, s] where x is the left coordinate of the box, y is the top coordinate of the box, and s is the side length of the box. These elements have been converted to floats and normalized according to their maximum possible values (512). For example, [16, 28, 256] would have been converted to [16/512, 28/512, 256/512], or [0.03125, 0.0546875, 0.5]. Using this conversion, the minimum value of s is 128/512, or 0.25.
Original Dataset Citation
@misc{danbooru2021,
author={Anonymous and Danbooru community and Gwern Branwen},
title={Danbooru2021: A Large-Scale Crowdsourced and Tagged Anime Illustration Dataset},
howpublished={\url{https://gwern.net/danbooru2021}},
url={https://gwern.net/danbooru2021},
type={dataset},
year={2022},
month={January},
timestamp={2022-01-21},
note={Accessed: 2023-12-06}
}
- Downloads last month
- 71