Dataset Viewer
The dataset viewer is not available for this subset.
Cannot get the split names for the config 'default' of the dataset.
Exception:    HfHubHTTPError
Message:      502 Server Error: Bad Gateway for url: https://huggingface.co/api/datasets/SYliuuuuuu/ROI-1555_Rebar_Detection_and_Instance_Segmentation_Dataset/tree/48031c9704f82849a42df4cbbbecbb63330bd5e6?recursive=True&expand=False
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 "/usr/local/lib/python3.12/site-packages/datasets/inspect.py", line 343, in get_dataset_split_names
                  info = get_dataset_config_info(
                         ^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/inspect.py", line 268, in get_dataset_config_info
                  builder = load_dataset_builder(
                            ^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/load.py", line 1132, in load_dataset_builder
                  dataset_module = dataset_module_factory(
                                   ^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/load.py", line 1031, in dataset_module_factory
                  raise e1 from None
                File "/usr/local/lib/python3.12/site-packages/datasets/load.py", line 1004, in dataset_module_factory
                  ).get_module()
                    ^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/load.py", line 631, in get_module
                  patterns = get_data_patterns(base_path, download_config=self.download_config)
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/data_files.py", line 473, in get_data_patterns
                  return _get_data_files_patterns(resolver)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/data_files.py", line 284, in _get_data_files_patterns
                  data_files = pattern_resolver(pattern)
                               ^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/data_files.py", line 360, in resolve_pattern
                  for filepath, info in fs.glob(pattern, detail=True, **glob_kwargs).items()
                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/huggingface_hub/hf_file_system.py", line 521, in glob
                  return super().glob(path, **kwargs)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/fsspec/spec.py", line 604, in glob
                  allpaths = self.find(root, maxdepth=depth, withdirs=True, detail=True, **kwargs)
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/huggingface_hub/hf_file_system.py", line 563, in find
                  out = self._ls_tree(path, recursive=True, refresh=refresh, revision=resolved_path.revision, **kwargs)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/huggingface_hub/hf_file_system.py", line 446, in _ls_tree
                  self._ls_tree(
                File "/usr/local/lib/python3.12/site-packages/huggingface_hub/hf_file_system.py", line 463, in _ls_tree
                  for path_info in tree:
                                   ^^^^
                File "/usr/local/lib/python3.12/site-packages/huggingface_hub/hf_api.py", line 3140, in list_repo_tree
                  for path_info in paginate(path=tree_url, headers=headers, params={"recursive": recursive, "expand": expand}):
                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/huggingface_hub/utils/_pagination.py", line 37, in paginate
                  hf_raise_for_status(r)
                File "/usr/local/lib/python3.12/site-packages/huggingface_hub/utils/_http.py", line 482, in hf_raise_for_status
                  raise _format(HfHubHTTPError, str(e), response) from e
              huggingface_hub.errors.HfHubHTTPError: 502 Server Error: Bad Gateway for url: https://huggingface.co/api/datasets/SYliuuuuuu/ROI-1555_Rebar_Detection_and_Instance_Segmentation_Dataset/tree/48031c9704f82849a42df4cbbbecbb63330bd5e6?recursive=True&expand=False

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.

YAML Metadata Warning:empty or missing yaml metadata in repo card

Check out the documentation for more information.

ROI-1555: Rebar Detection and Instance Segmentation Dataset

  • ROI-1555 for rebar object detection and instance segmentation contains 1555 rebar images and their fine-labeled bounding boxes and pixel-wise masks.
  • Diverse rebar specifications, layouts, application scenarios, and environmental conditions.

Usage

  • Here is an example to convert the annotations to MSCOCO 2017 format
python 
cp -r 1260/img_label tools/data_annotated/train2017
cd tools
python labelme2coco_instance.py
#Annotation instances_train2017.json(MSCOCO 2017 format) will be generated in tools/annotations

Paper

Deep Learning-based Rebar Detection and Instance Segmentation in Images

Tao Sun, Qipei Fan, Yi Shao*
Advanced Engineering Informatics

If you use the dataset in your work, please cite our paper:

@article{sun2025deep,
  title={Deep learning-based rebar detection and instance segmentation in images},
  author={Sun, Tao and Fan, Qipei and Shao, Yi},
  journal={Advanced Engineering Informatics},
  volume={65},
  pages={103224},
  year={2025},
  publisher={Elsevier}
}

Highlights

  • Mask2Former trained on our dataset shows good generalization ability in unseen data

  • Benchmark test shows the performance and limitations of the popular networks

  • Six data augmentation strategies were introduced and tested to improve the SOTA method, which can guide the selection of suitable data augmentation strategies for rebar perception.

Methods Epochs mAP mAP50 mAP75 mAPstraight mAPhoop
Without additional data augmentation 178 68.6 93.6 79.9 76.0 61.1
With Random Vertical-Flip 178 60.1 91.7 65.8 70.1 50.1
With Random Rotation 178 66.9 94.4 77.6 75.1 58.8
With Mosaic 178 54.1 85.6 58.7 61.4 46.8
With MixUp 356 64.0 94.1 71.8 72.6 55.4
With Cutout 356 70.2 94.2 81.9 77.5 62.8
With Simple Copy-Paste 718 71.4 93.9 84.7 78.5 64.3

Contact

If you have any questions on the dataset, please email tao.sun@mail.mcgill.ca.

Downloads last month
124