Datasets:
Update README.md
Browse files10 unmodified lines1112131415161713 unmodified lines3132333435363738394041424344454647484950515253545510 unmodified linessize_categories:- 1K<n<10K---#About the DatasetRobustAD, specifically designed to evaluate the robustness of anomaly detection models in real-world scenarios. RobustAD features a curated dataset of defect detection images with meticulously controlled distribution shifts across multiple dimensions relevant to practical applications and more closely mirrors real-world deployment scenarios.RobustAD is designed to cover inspection challenges across multiple industries to ensure the diversity of use cases and13 unmodified lines#Dataset Card for RobustADFor more details, refer to this paper: COMING SOON!The three sub-datasets and the defects covered in each sub-dataset are listed below#How to UseTBD#License InformationThe RobustAD dataset is released under the Creative Commons license cc-by-4.0.#Citation InformationCOMING SOON!#Contactlppemula@amazon.com (Latha Pemula) | zdongqin@amazon.com (Dongqing Zhang) | onkardab@amazon.com (Onkar Dabeer)10 unmodified lines111213141516171813 unmodified lines323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777810 unmodified linessize_categories:- 1K<n<10K---# RobustAD Dataset## About the DatasetRobustAD, specifically designed to evaluate the robustness of anomaly detection models in real-world scenarios. RobustAD features a curated dataset of defect detection images with meticulously controlled distribution shifts across multiple dimensions relevant to practical applications and more closely mirrors real-world deployment scenarios.RobustAD is designed to cover inspection challenges across multiple industries to ensure the diversity of use cases and13 unmodified lines## Dataset Card for RobustADFor more details, refer to this paper: COMING SOON!## How to UseTo load the dataset,```from datasets import load_datasetfrom datasets import Image#For piled bags dataset (Classification only)piled_bags_dataset = load_dataset("imagefolder", data_files={"train": 'PiledBags/piled_bags_data_dir_train/*', "test0": 'PiledBags/piled_bags_data_dir_test0/*' , "test1": 'PiledBags/piled_bags_data_dir_test1/*' , "test2": 'PiledBags/piled_bags_data_dir_test2/*' , "test3": 'PiledBags/piled_bags_data_dir_test3/*' ,"test4": 'PiledBags/piled_bags_data_dir_test4/*', "test5": 'PiledBags/piled_bags_data_dir_test5/*'})#For PCB datasetpcb_dataset = load_dataset("imagefolder", data_files={"train": 'PCB/pcb_data_dir_train/*', "test0": 'PCB/pcb_data_dir_test0/*', "test1": 'PCB/pcb_data_dir_test1/*' , "test2": 'PCB/pcb_data_dir_test2/*' , "test3": 'PCB/pcb_data_dir_test3/*' ,"test4": 'PCB/pcb_data_dir_test4/*', "test5": 'PCB/pcb_data_dir_test5/*'}).cast_column("mask", Image(decode=True))#For Metal Parts datasetmetal_parts_dataset = load_dataset("imagefolder", data_files={"train": 'MetalParts/metal_parts_data_dir_train/*', "test0": 'MetalParts/metal_parts_data_dir_test0/*' , "test1": 'MetalParts/metal_parts_data_dir_test1/*' , "test2": 'MetalParts/metal_parts_data_dir_test2/*' , "test3": 'MetalParts/metal_parts_data_dir_test3/*' ,"test4": 'MetalParts/metal_parts_data_dir_test4/*', "test5": 'MetalParts/metal_parts_data_dir_test5/*', "test6": 'MetalParts/metal_parts_data_dir_test6/*'}).cast_column("mask", Image(decode=True))#metal_parts_dataset['train'][0] - Normal sample does not have a mask#{'image': <PIL.Image.Image image mode=RGB size=2681x1500 at 0x7F66A1BE46D0>, 'label': 0, 'mask': None}#metal_parts_dataset['train'][0] - Anomaly samples have a mask{'image': <PIL.Image.Image image mode=RGB size=2681x1500 at 0x7F66A1B1EBC0>, 'label': 1, 'mask': <PIL.PngImagePlugin.PngImageFile image mode=L size=2681x1500 at 0x7F66A1BE7040>}```## License InformationThe RobustAD dataset is released under the Creative Commons license cc-by-4.0.## Citation InformationCOMING SOON!## Contactlppemula@amazon.com (Latha Pemula) | zdongqin@amazon.com (Dongqing Zhang) | onkardab@amazon.com (Onkar Dabeer)
README.md+31-8