Dataset Preview
Duplicate
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed because of a cast error
Error code:   DatasetGenerationCastError
Exception:    DatasetGenerationCastError
Message:      An error occurred while generating the dataset

All the data files must have the same columns, but at some point there are 1 new columns ({'011114001665030048237'}) and 1 missing columns ({'021005001652790856656'}).

This happened while the csv dataset builder was generating data using

hf://datasets/amazon/armbench-defect-image/annotations/test.csv (at revision 3ebfc97a532b97a4406564637a1a80e3db6dc818), ['hf://datasets/amazon/armbench-defect-image@3ebfc97a532b97a4406564637a1a80e3db6dc818/annotations/test.csv']

Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)
Traceback:    Traceback (most recent call last):
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1856, in _prepare_split_single
                  writer.write_table(table)
                  ~~~~~~~~~~~~~~~~~~^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/arrow_writer.py", line 811, in write_table
                  self._write_table(pa_table, writer_batch_size=writer_batch_size)
                  ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/arrow_writer.py", line 822, in _write_table
                  pa_table = table_cast(pa_table, self._schema)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2381, in table_cast
                  return cast_table_to_schema(table, schema)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2309, in cast_table_to_schema
                  raise CastError(
                  ...<3 lines>...
                  )
              datasets.table.CastError: Couldn't cast
              011114001665030048237: string
              -- schema metadata --
              pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 422
              to
              {'021005001652790856656': Value('string')}
              because column names don't match
              
              During handling of the above exception, another exception occurred:
              
              Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1379, 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 956, 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 1702, 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 1858, in _prepare_split_single
                  raise DatasetGenerationCastError.from_cast_error(
                  ...<4 lines>...
                  )
              datasets.exceptions.DatasetGenerationCastError: An error occurred while generating the dataset
              
              All the data files must have the same columns, but at some point there are 1 new columns ({'011114001665030048237'}) and 1 missing columns ({'021005001652790856656'}).
              
              This happened while the csv dataset builder was generating data using
              
              hf://datasets/amazon/armbench-defect-image/annotations/test.csv (at revision 3ebfc97a532b97a4406564637a1a80e3db6dc818), ['hf://datasets/amazon/armbench-defect-image@3ebfc97a532b97a4406564637a1a80e3db6dc818/annotations/test.csv']
              
              Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)

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.

021005001652790856656
string
003017001652919921454
011031001651667445070
001001001653309405927
004061001652894308943
007071001665059611687
005024001652719445047
008047001665013562440
014067001652247875772
016070001652719445047
006075001653003744752
011038001652919921454
009068001652719445047
003036001653432582736
010160001665059611687
008085001652919921454
002027001652790856656
011192001665059611687
009076001652919921454
001164001652310623499
004027001652201399420
005003001652885190168
008180001665059611687
002055001652144124838
007027001652960157945
009032001652206098330
001027001652396613558
009071001653309405927
013029001653395891055
001122001653395891055
004062001652290597320
015159001665059611687
005024001665013562440
005010001664500594064
015008001652290597320
002032001652396613558
007037001651711238293
002020001652099684534
001071001653484236499
010023001653003744752
013159001665059611687
015094001665099306584
001037001653309405927
002084001652144124838
007043001652831434447
012129001665059611687
011064001651711238293
014078001652396613558
005058001652960157945
001090001651667445070
012050001652831434447
001176001664973533276
003040001652144124838
002096001651635353046
001003001652106468750
004030001652345099666
006019001653395891055
006014001651754233153
009076001665099306584
007110001652919921454
005044001652861631630
007150001653051597861
004046001652396613558
007051001653395891055
006025001665013562440
012037001652445572002
008209001653003744752
017061001652106468750
002023001652277336752
010020001652885190168
005144001665059611687
007002001665013562440
004070001665099306584
009060001651667445070
004003001652421234183
001023001652919921454
019067001665059611687
005186001652744517593
001030001653003744752
001105001652310623499
011012001652283829976
007019001652120609820
003013001652970683505
005071001651635353046
018155001664973533276
009020001652894308943
006030001652225033462
012083001665013562440
002027001665059611687
004069001652247875772
005057001665013562440
007047001652396613558
004084001652744517593
005197001653003744752
008030001652861631630
008026001652201399420
001007001652861631630
008041001665099306584
010129001653348277466
007030001652201399420
001005001652461933599
End of preview.

ARMBench - Defect Detection, Image Subset

This repository is the official Amazon redistribution, on the Hugging Face Hub, of the image defect detection subset of ARMBench. The media payload is Amazon's original release archive, byte-for-byte, with its published SHA-256 intact; the small split and metadata files alongside it are Amazon's own release files, copied out of the bucket unmodified so that the official train/test lists can be read without downloading 65.7 GiB.

It is the sibling of amazon/armbench-defect-video. The two together are ARMBench's defect detection task; the cards are written as a matched pair.

Project home: http://armbench.com  |  Paper: arXiv:2303.16382  |  Contact: armbench-support@amazon.com

Note on the project website. http://armbench.com is Amazon's canonical home for ARMBench and is the URL printed in the paper. At the time of writing the https://www.armbench.com certificate has expired, so some browsers will warn before showing the site. This has been reported to the ARMBench team. The arXiv link above is a non-expiring alternative reference. Every quotation in this card was taken on 2026-10-28 from the live pages served by armbench.com's own CloudFront origin (/index.html and /defects.html), not from a cached or archived copy.

Dataset Description

The following description is quoted verbatim from Amazon's ARMBench website.

What is ARMBench?

ARMBench is a large-scale benchmark dataset for perception and manipulation challenges across Amazon Robotics systems. The datasets are collected in Amazon warehouses and capture a wide variety of objects and configurations. They comprise images, videos, and tabular data for different stages of robotic manipulation with high-quality annotations.

ARMBench currently includes datasets from two Amazon Robotics programs. This subset belongs to the Sparrow Tasks group, described on the site as:

Sparrow - Amazon's intelligent robotic system that streamlines the fulfillment process by moving individual products before they get packaged. Sparrow is a robotic system in Amazon warehouses that can detect, select, and handle individual products in inventory using computer vision and artificial intelligence. It focuses on object segmentation, identification, and defect detection, enabling more efficient and safer operations while allowing employees to focus on higher-value tasks.

ARMBench documents five benchmark tasks and distributes them as six downloads: Defect Detection ships as two separate downloads (images and videos), and the three Object Segmentation subsets ship inside a single download. This repository is one of those six downloads; the others are published under the same amazon organization with the armbench- prefix.

The defect detection task, verbatim

The defect detection task is to identify if a robotic manipulation activity resulted in a defect. Two types of robot-induced defects are included in the dataset: 1. multi-pick, and 2. package-defect. Multi-pick is used to describe activities where multiple objects were picked and transferred from the source container to the destination container. Package-defect is used to describe activities where the object packaging opened and/or the object separated into multiple parts (deconstruction). Two subclasses, open and deconstruction, are defined for package-defect.

This subset, verbatim

Image defect detection (66G): This dataset comprises 13,303 images of objects with defects taking through multiple view-points (Transfer-images). For image defection detection, multi-pick and package-defects are the two defect classes. 100,000 images of objects with no defects are available in the dataset.

Train-Test-Split: List of training and test cases.

And from the ARMBench home page, the one-line summary of the defect detection task as a whole, covering both this subset and the video subset:

Defect Detection

19,000+ images and 4,000+ videos for rare, but costly, robot-induced defects such as multi-pick and packaging defects. Dataset contains 100,000+ no defect cases.

Three editorial notes on the quotations above, so that the differences from the live page are auditable and not mistaken for transcription errors. First, in the task paragraph, parentheses and italics were added to ...separated into multiple parts (*deconstruction*); the live page italicises the term but omits the parentheses. Second, "image defection detection" is the site's own spelling and is reproduced here unchanged; it is not a typo introduced by this redistribution. Third, the live page's sentence about video ("Video defect detection (255G): ...") belongs to the video subset and is not quoted here. Nothing else was changed, added or reordered.

What distinguishes this subset from the video subset

Both defect classes are present here. The task defines two defect types, multi-pick and package-defect. In the video subset Amazon states that "Multi-picks are not observable in videos and are excluded from this dataset", so a model trained there cannot detect them. In this image subset the site states that "multi-pick and package-defects are the two defect classes". If you need multi-pick, this is the subset that has it.

The imagery is the Transfer-images view: still frames of the object captured from multiple viewpoints while it is being transferred, rather than a single clip of the transfer.

Dataset Structure

What this repository contains

Path Bytes Description
archive/armbench-defects-image-0.1.tar.gz 70,571,002,037 Amazon's original release archive, unmodified

Every byte count above is the exact size of the object as released by Amazon. The sizes of Amazon's train.csv, test.csv and defect_detection_images.ckpt release objects were measured on two independently retrieved copies of each, which are MD5-identical to one another.

There is no derived Parquet label table in this repository, and therefore no dataset viewer. The video subset ships one because its labels are small, self-describing per-clip JSON files. The per-image labels for this subset were not extracted for this redistribution, so rather than ship a configs: block pointing at a file that does not exist - which breaks the viewer and is worse than having none - this card ships no viewer configuration. The authoritative labels are inside the archive. If a label table is added later it will appear in the file table above.

Archive contents

The archive is Amazon's armbench-defects-image-0.1.tar.gz, a single gzipped tar. Its root holds the Transfer-images for each pick together with their annotations and the official split lists; the same train.csv and test.csv that Amazon publishes alongside the archive are the split lists for this subset.

Two practical warnings carried over from the sibling video subset, both of which apply to any tar.gz of this shape:

  • A gzip stream is not seekable. Any full listing or extraction is a single sequential pass over all 65.7 GiB. There is no way to pull one image out cheaply.
  • Do not infer the archive's contents from tar tzf ... | head. In the video archive the annotation files sit at the end of the gzip stream, so a truncated listing makes the archive look unlabelled when it is not. Read a listing to completion before concluding something is missing.

If you only need the official split membership, read Amazon's train.csv and Amazon's test.csv and never touch the archive.

Splits

Amazon's split files are bare, headerless, single-column lists of pick identifiers - one 21-digit ID per line, no label column. The lines are CRLF-terminated (\r\n), including the last line, and the IDs are zero-padded, so read them as strings and strip the carriage return: a naive open(path).read().split("\n") leaves a trailing \r on every ID and every join against it then fails silently, and parsing an ID as an integer destroys its leading zeros. csv.reader, or pandas.read_csv(path, header=None, dtype=str), handles both. Measured from the files in this repository:

Split Pick IDs File Bytes
train 6,858 Amazon's train.csv 157,734
test 3,990 Amazon's test.csv 91,770
total 10,848 249,504

Every ID is distinct within its file and the intersection of train and test is empty (0 IDs in common), so the split is clean and can be used as published.

The split is at the pick level, not the image level: one pick contributes several Transfer-images from different viewpoints, so the number of images is a multiple of the number of picks. Splitting at the pick level is what prevents two viewpoints of the same physical object from landing on opposite sides of the split. If you build your own split, split on pick_id, never on the image filename.

Amazon's split files carry no class labels, and this redistribution did not enumerate the per-image classes out of the 65.7 GiB archive. The per-class counts for the official split are therefore not reported here rather than guessed; the site's own published totals are in the table below.

Published figures versus measured figures

Amazon's published figures are given first; figures measured from the files in this repository follow, labelled as such. Both are reported rather than silently reconciled.

Quantity Amazon's published figure Measured here
Defect images 13,303 (task page) vs 19,000+ (home page) - the site's two pages disagree with each other not enumerated (see note below)
No-defect images 100,000 (task page), 100,000+ (home page) not enumerated
Defect classes multi-pick and package-defect (task page) not enumerated from the archive; both names appear in the third-party mirror's vocabulary (below)
Download size 66G (task page) 70,571,002,037 bytes = 65.724 GiB = 70.571 GB
Official split "List of training and test cases" (no count published) 10,848 pick IDs = 6,858 train + 3,990 test, 0 overlap

Two figures on Amazon's own site disagree: the defect detection task page says 13,303 images of objects with defects, while the home page's task summary says 19,000+ images. This redistribution does not reconcile them and does not know which population each counts. Both are reported above exactly as published. For context only, and explicitly not offered as a reconciliation, the third-party mirror described in the next section counts 18,955 defect stills - but it does so over its own 141,132-still selection, which is a different and larger population than the 113,303 images the task page describes.

The 66G / 65.724 GiB pair is not a discrepancy: Amazon's "66G" is the archive size rounded in gibibytes, and the exact object is 65.724 GiB.

A third-party mirror exists; this is the authoritative release

A community mirror of this subset, correll/armbench_defect_dataset, is also on the Hub as 128 Parquet shards. It is useful - it is streamable and it is labelled - but it is not the official release and it should not be used for benchmark numbers, for one decisive reason:

it does not preserve Amazon's train/test split. Measured by joining the mirror's pick_id column against Amazon's own split lists:

Measurement Value
Mirror rows (stills) 141,132
Mirror distinct pick_id 36,898
Of Amazon's 10,848 official-split picks, present in the mirror 10,709
Of Amazon's 10,848 official-split picks, absent from the mirror 139
Mirror picks that are outside Amazon's official split 26,189

So the mirror is simultaneously missing 139 official picks and carrying 26,189 picks that the official benchmark does not evaluate on. A result computed on the mirror's own split is not comparable to a result computed on Amazon's. If you want comparable numbers, take the split from Amazon's own train.csv / test.csv release objects.

The mirror's label vocabulary, for orientation (these counts are over the mirror's 141,132 stills and are mirror-derived, not Amazon-published):

Mirror label Stills
nominal 122,177
package_defect 11,142
multi_pick 7,813

with sublabel taking nine values - none (130,145), open_book_jacket (3,056), open_box (2,880), book_jacket (2,600), open_book (1,372), partial_box (665), torn_bag (249), crush_box (89), empty_bag (76). Note that these sublabel names are finer-grained than the two subclasses Amazon's task page defines (open and deconstruction), and that 155 package_defect stills carry sublabel = none. Do not assume the mirror's vocabulary is Amazon's.

The benchmark target

The task, in Amazon's words, "is to identify if a robotic manipulation activity resulted in a defect", with "multi-pick and package-defects" as "the two defect classes" for this subset. Because a single activity can in principle exhibit more than one defect type, and because the sibling video subset's released baseline uses two independent sigmoid channels rather than a softmax over classes, treat the target as per-class presence, not as mutually exclusive classes, unless you have verified otherwise on the labels inside the archive.

Amazon releases a baseline for this subset as defect_detection_images.ckpt (282,633,127 bytes). This card does not report its accuracy: no benchmark number for the image baseline is published on the website, and none was measured here.

Verifying what you downloaded

The archive in this repository is byte-identical to Amazon's release object, so Amazon's own published checksum verifies it:

# The repository holds exactly one data file: Amazon's release archive.
hf download amazon/armbench-defect-image \
  --repo-type dataset \
  --include 'archive/armbench-defects-image-0.1.tar.gz' \
  --local-dir ./armbench-defect-image

# Amazon publishes this SHA-256 for the archive (quoted from its sidecar in the
# release bucket; the sidecar itself is not mirrored here, so write the line out):
cd ./armbench-defect-image/archive
echo '5072905775299a6a2ba2fded9eda9009149c2e0d848493d34ff6b0086f8699d8  ./armbench-defects-image-0.1.tar.gz' \
  | sha256sum -c -

The sidecar's single line is, verbatim:

5072905775299a6a2ba2fded9eda9009149c2e0d848493d34ff6b0086f8699d8 ./armbench-defects-image-0.1.tar.gz

Note the ./ path prefix: run sha256sum -c from the directory that contains the archive, or the check will report the file as missing.

Splits only, no archive - a few hundred kilobytes instead of 65.7 GiB:

The official split lists are not mirrored as separate files in this repository.
Amazon ships them inside the release archive (the site's own "Train-Test-Split:
List of training and test cases"), with 6,858 train and 3,990 test pick ids.

Or to try the data before committing to the full download, take the shared 66 MiB sample armbench-defects-tiny.tar.gz.

Dataset Creation

The data was collected in Amazon warehouses from a robotic manipulator performing object singulation from containers with heterogeneous contents, as described in the ARMBench paper:

This paper introduces Amazon Robotic Manipulation Benchmark (ARMBench), a large-scale, object-centric benchmark dataset for robotic manipulation in the context of a warehouse. [...] We present a large-scale dataset collected in an Amazon warehouse using a robotic manipulator performing object singulation from containers with heterogeneous contents. ARMBench contains images, videos, and metadata that corresponds to 235K+ pick-and-place activities on 190K+ unique objects. The data is captured at different stages of manipulation, i.e., pre-pick, during transfer, and after placement. Benchmark tasks are proposed by virtue of high-quality annotations and baseline performance evaluation are presented on three visual perception challenges, namely 1) object segmentation in clutter, 2) object identification, and 3) defect detection. ARMBench can be accessed at http://armbench.com

Defect annotations were produced by human annotators. Amazon's website does not publish the annotation protocol, the annotator population, the adjudication procedure, or inter-annotator agreement for this subset, and this redistribution does not add them. Where a number is not published, this card says so rather than estimating it.

Release history, verbatim from the ARMBench website

June, 2026: New benchmark dataset released for Blade Insertion Affordance Prediction, with ~29,000 cycles of RGBD images and 3D motion trajectories.

August, 2025: New benchmark dataset released for Stow Success Prediction, adding a fourth key challenge to ARMBench.

March, 2023: Benchmark datasets publicly released for 3 key perception challenges in robotic manipulation: (a) Object segmentation, (b) Object identification, and (c) Defect detection.

January, 2023: The ARMBench research paper has been accepted for presentation at ICRA, 2023.

This subset is part of the March 2023 release.

Considerations for Using the Data

Intended use. Research and benchmarking of image-based defect detection for robotic manipulation.

Scope limits. The images come from one class of Amazon Robotics workcell in Amazon fulfillment centres, under that facility's lighting, camera placement and object mix. Models trained here should not be assumed to transfer to other workcells, camera geometries or inventory distributions without re-evaluation.

Class imbalance. Defects are rare by design in the operation being measured: against 100,000 no-defect images the site reports 13,303 defect images, so the defect rate is of order ten percent and the published no-defect pool alone is large enough to make accuracy meaningless as a metric. Report per-class precision/recall or average precision, and report them on the official test split.

Pick-level leakage. Several Transfer-images come from the same pick. Any custom split, augmentation scheme or deduplication must be done at the pick_id level; splitting at the image level leaks the same physical object across train and test and will inflate your score.

Personal and sensitive information. The images show items being handled inside the robotic workcell. Amazon's website does not publish a de-identification statement for this subset, and this redistribution does not add one. If you find content that should not be public, please contact armbench-support@amazon.com.

Files in this repository (generated from the uploaded tree)

Path Bytes
License-CC-BY.txt 18,657
annotations/test.csv 91,770
annotations/train.csv 157,734
archive/armbench-defects-image-0.1.tar.gz.sha256 100
archive/armbench-defects-tiny.tar.gz 69,609,824
baseline/defect_detection_images.ckpt 282,633,127

The large release archive is listed in the sections above; the files here are the small companion objects (Amazon's published checksum sidecars, the tiny sample archives, the official split lists and the released baseline checkpoints), all unmodified.

Licence and attribution

Quoted verbatim from the ARMBench website's Credits section:

These datasets are licensed under the Creative Commons Attribution 4.0 International (CC BY 4.0). Use the following citations if you use these datasets for publication.

Licence CC BY 4.0 (cc-by-4.0)
Original data credit Amazon.com, Inc. - ARMBench, http://armbench.com
Modifications to the media None. archive/armbench-defects-image-0.1.tar.gz is byte-for-byte identical to Amazon's release object and verifies against Amazon's published SHA-256.
Additions Only this card. The one data file, archive/armbench-defects-image-0.1.tar.gz, is an unmodified Amazon release object under an archive/ prefix; no file was renamed and no derived table, label file or checkpoint is added. Amazon's sidecar, sample archive, split lists and baseline checkpoint are described in this card but are not mirrored here.
Further restrictions None are applied. This redistribution adds no terms beyond CC BY 4.0.

Attribution is a binding condition of CC BY 4.0. If you use this data, cite the paper below.

The ARMBench suite on the Hub

ARMBench is distributed as six downloads, each published as its own dataset under the amazon organization so that you can take only the subset you need. Every one carries the armbench tag, so datasets?other=armbench lists the whole family, and they are grouped in the ARMBench collection on the organization page.

Dataset Program Task Download size
amazon/armbench-segmentation Sparrow Object segmentation in clutter 18.5 GiB
amazon/armbench-object-identification Sparrow Open-set object identification 101.6 GiB
amazon/armbench-defect-image (this dataset) Sparrow Defect detection, images 65.7 GiB
amazon/armbench-defect-video Sparrow Defect detection, videos 254.0 GiB
amazon/armbench-stow-success-prediction Vulcan Stow Stow success prediction 37.4 GiB
amazon/armbench-blade-insertion-affordance Vulcan Stow Blade insertion affordance 555.7 GiB

The Sparrow subsets are cited with mitash2023armbench (below); the two Vulcan Stow subsets are cited with hudson2025stow - see each dataset's own card for its correct citation.

Citation

@article{mitash2023armbench,
  title     = {ARMBench: An object-centric benchmark dataset for robotic manipulation},
  author    = {Mitash, Chaitanya and Wang, Fan and Lu, Shiyang and Terhuja, Vikedo
               and Garaas, Tyler and Polido, Felipe and Nambi, Manikantan},
  journal   = {arXiv preprint arXiv:2303.16382},
  year      = {2023}
}

This is Amazon's published BibTeX entry with one character removed: the version on armbench.com has a stray comma after Vikedo, which makes BibTeX parse the name under its three-part last, jr, first rule and drop Vikedo Terhuja's given name from the rendered reference. The seven authors and their order are unchanged and match the arXiv metadata for 2303.16382. No @inproceedings ICRA entry is given because arXiv carries no journal reference for this paper and the proceedings citation could not be verified.

Contact

Quoted verbatim from the ARMBench website:

For questions or to provide feedback, please reach out to us at armbench-support@amazon.com

(c) Amazon.com

Downloads last month
8

Collection including amazon/armbench-defect-image

Paper for amazon/armbench-defect-image