radr-anon-2026 commited on
Commit
db77b6d
·
verified ·
1 Parent(s): 9f91bb2

Initial v1.0 dataset card + sensor-sync HDF5s + Croissant metadata

Browse files
LICENSE ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Creative Commons Attribution 4.0 International (CC BY 4.0)
2
+
3
+ Copyright (c) 2026 Rad-R Authors.
4
+
5
+ You are free to:
6
+ - Share — copy and redistribute the material in any medium or format
7
+ - Adapt — remix, transform, and build upon the material
8
+ for any purpose, even commercially.
9
+
10
+ The licensor cannot revoke these freedoms as long as you follow the license terms.
11
+
12
+ Under the following terms:
13
+ - Attribution — You must give appropriate credit, provide a link to the
14
+ license, and indicate if changes were made. You may do so in any
15
+ reasonable manner, but not in any way that suggests the licensor
16
+ endorses you or your use.
17
+
18
+ No additional restrictions — You may not apply legal terms or technological
19
+ measures that legally restrict others from doing anything the license permits.
20
+
21
+ Notices:
22
+ - You do not have to comply with the license for elements of the material
23
+ in the public domain or where your use is permitted by an applicable
24
+ exception or limitation.
25
+ - No warranties are given. The license may not give you all of the
26
+ permissions necessary for your intended use. For example, other rights
27
+ such as publicity, privacy, or moral rights may limit how you use the
28
+ material.
29
+
30
+ Full license text: https://creativecommons.org/licenses/by/4.0/legalcode
README.md ADDED
@@ -0,0 +1,139 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-4.0
3
+ task_categories:
4
+ - audio-classification
5
+ - time-series-forecasting
6
+ language:
7
+ - en
8
+ tags:
9
+ - radar
10
+ - mmwave
11
+ - raw-adc
12
+ - fault-diagnosis
13
+ - automotive
14
+ - sensor-fusion
15
+ - benchmark
16
+ size_categories:
17
+ - 1K<n<10K
18
+ pretty_name: "Rad-R: Raw-ADC mmWave Automotive Radar Robustness"
19
+ configs:
20
+ - config_name: default
21
+ data_files:
22
+ - split: synced_hdf5
23
+ path: synced_hdf5/*.h5
24
+ - split: training_cache
25
+ path: training_cache.h5
26
+ ---
27
+
28
+ # Rad-R: A Real-World Raw-ADC Dataset and Benchmark for mmWave Automotive Radar Robustness
29
+
30
+ **Anonymous submission to NeurIPS 2026 — Evaluations & Datasets Track.**
31
+
32
+ Rad-R is the first publicly released radar dataset combining **raw ADC captures** from a 4-chip TI MMWCAS-RF-EVM cascade radar (12 Tx × 16 Rx = 192 virtual channels, 77 GHz) with **physically induced hardware fault annotations** at multiple severity levels, synchronized with companion sensors (BNO055 IMU, DHT22 board/ambient temperature, three GPS streams, dual RPi cameras).
33
+
34
+ ## Captured fault classes (v1.0)
35
+
36
+ | Class | Severity | Specification | File |
37
+ |---|---|---|---|
38
+ | Healthy | S0 | Baseline (no induced fault) | `healthy.h5` |
39
+ | Misalignment | S1 (mild) | 5° yaw via precision jig + inclinometer | `yaw0.h5` |
40
+ | Misalignment | S2 (severe) | 10° yaw | `yaw2.h5` |
41
+ | Vibration | S1 (mild) | 20 Hz drive (eccentric DC motor on radar mount) | `vib1.h5` |
42
+ | Vibration | S2 (severe) | 40 Hz drive | `vib2.h5` |
43
+ | Blockage | S1 (mild) | 30 % polycarbonate coverage on PP radome | `blockage1.h5` |
44
+ | Blockage | S2 (severe) | 60 % polycarbonate coverage on PP radome | `blockage2.h5` |
45
+ | Rx degradation | S1 (mild) | 6/16 Rx antennas copper-taped | `degrade0.h5` |
46
+ | Rx degradation | S2 (severe) | 10/16 Rx antennas copper-taped | `degrade1.h5` |
47
+
48
+ Severity is gated by **measured physical quantities** (BNO055 RMS, inclinometer angle, corner-reflector dB drop, single-tone calibration sweep) — not just the procedural setting.
49
+
50
+ ## Repository layout
51
+
52
+ ```
53
+ synced_hdf5/ # Sensor-sync metadata, one HDF5 per capture (~25 MB total)
54
+ healthy.h5 # Per-radar-frame timestamps + IMU + DHT22 + GPS + camera paths
55
+ yaw0.h5 yaw2.h5
56
+ vib1.h5 vib2.h5
57
+ blockage1.h5 blockage2.h5
58
+ degrade0.h5 degrade1.h5
59
+ training_cache.h5 # Pre-processed RD maps + raw IQ subset (~2.4 GB)
60
+ # 1800 frames (200 sampled per capture)
61
+ # rd_map: (1800, 224, 224) f32 dB
62
+ # iq: (1800, 64, 256, 16) complex64 (Tx=0 slice)
63
+ # fault_label, severity_label, capture, frame_idx
64
+ LICENSE # CC BY 4.0
65
+ croissant.json # ML metadata (NeurIPS Croissant standard)
66
+ radr.py # HuggingFace `datasets` loader
67
+ ```
68
+
69
+ ## How to load (training cache, recommended)
70
+
71
+ ```python
72
+ import h5py
73
+ import numpy as np
74
+
75
+ with h5py.File("training_cache.h5", "r") as f:
76
+ rd = np.asarray(f["rd_map"]) # (1800, 224, 224) f32
77
+ iq = np.asarray(f["iq"]) # (1800, 64, 256, 16) complex64
78
+ fault = np.asarray(f["fault_label"]) # (1800,) int (0=healthy, 1=vib, 2=misalign, 3=block, 4=rxdeg)
79
+ sev = np.asarray(f["severity_label"]) # (1800,) int (0=healthy, 1=mild, 2=severe)
80
+ capture = np.asarray(f["capture"]).astype(str)
81
+ ```
82
+
83
+ ## How to load (synced metadata + raw .bin pipeline)
84
+
85
+ The 9 `synced_hdf5/*.h5` files contain per-radar-frame **wall-clock timestamps** and **synchronized companion-sensor streams**, but NOT the raw IQ — that lives in TI mmWave Studio `*_data.bin` capture directories (~324 GB total, available via Zenodo deposit on request).
86
+
87
+ If you have the raw `.bin` directories alongside the synced HDF5s, the matlab-to-python pipeline (in the code repo) reads the cascaded ADC, applies range/Doppler FFT, and produces the same RD maps as in `training_cache.h5`.
88
+
89
+ ## Hardware
90
+
91
+ | Spec | Value |
92
+ |---|---|
93
+ | Platform | TI MMWCAS-RF-EVM (4× AWR1243) |
94
+ | Center frequency | 77 GHz |
95
+ | Bandwidth | ~2.5 GHz (256 ADC samples × 79 MHz/μs) |
96
+ | Tx × Rx | 12 × 16 = **192 virtual channels** |
97
+ | Range resolution | 0.06 m |
98
+ | Max range | 15.2 m |
99
+ | Frame rate | 10 Hz (5 min × 9 captures = 45 min total recording) |
100
+ | Radome | 1/16″ polypropylene panel (always installed) |
101
+
102
+ ## Companion sensors (per-frame aligned)
103
+
104
+ - **Bosch BNO055 IMU** — 3-axis accel + gyro + temperature, ~33 Hz
105
+ - **DHT22** — board + ambient temperature, ~1 Hz
106
+ - **u-blox NEO-M9N GPS** — three decoded streams (legacy, bag-decoded, trips-DB-fused)
107
+ - **Raspberry Pi cameras** — Cam2 + Cam4 PNG paths + frame timestamps
108
+
109
+ ## Evaluation tasks
110
+
111
+ - **In-distribution fault classification** (5-way: healthy + 4 fault classes)
112
+ - **Severity classification** (3-way: 0=healthy, 1=mild, 2=severe)
113
+ - (Future: cross-day / cross-device / cross-scene OOD splits — deferred to v1.1 capture session)
114
+
115
+ ## Baselines benchmarked (in the paper)
116
+
117
+ ResNet-18, ViT-Small, Raw IQ 1D-CNN, MambaRD, CLIP-B/32 linear probe, OpenCLIP ViT-L/14 linear probe, RadrNet (hierarchical Mamba on raw IQ).
118
+
119
+ ## License
120
+
121
+ CC BY 4.0. You may use, distribute, and adapt this dataset, including for commercial purposes, provided you give attribution to the authors.
122
+
123
+ ## Citation
124
+
125
+ ```bibtex
126
+ @inproceedings{radr2026,
127
+ title = {Rad-R: A Real-World Raw-ADC Dataset and Benchmark for mmWave Automotive Radar Robustness},
128
+ author = {Anonymous},
129
+ booktitle = {NeurIPS Evaluations \& Datasets Track},
130
+ year = {2026}
131
+ }
132
+ ```
133
+
134
+ ## Limitations (v1.0)
135
+
136
+ - **Single capture device, single day, overlapping scenes.** Full OOD splits along device / day / scene axes deferred to a follow-on capture campaign.
137
+ - **Two severity levels per fault** (mild / severe). The taxonomy supports up to 4 levels (S0–S3) but only S1–S2 are captured here.
138
+ - **Thermal stress and RF interference** are part of the dataset specification but not yet captured. Scheduled for v1.1.
139
+ - **Raw .bin not redistributed via this HF repo** (300 GB exceeds quota). Available on request; will be deposited on Zenodo at camera-ready.
croissant.json ADDED
@@ -0,0 +1,165 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "@context": {
3
+ "@language": "en",
4
+ "@vocab": "https://schema.org/",
5
+ "citeAs": "cr:citeAs",
6
+ "column": "cr:column",
7
+ "conformsTo": "dct:conformsTo",
8
+ "cr": "http://mlcommons.org/croissant/",
9
+ "rai": "http://mlcommons.org/croissant/RAI/",
10
+ "data": {
11
+ "@id": "cr:data",
12
+ "@type": "@json"
13
+ },
14
+ "dataType": {
15
+ "@id": "cr:dataType",
16
+ "@type": "@vocab"
17
+ },
18
+ "dct": "http://purl.org/dc/terms/",
19
+ "examples": {
20
+ "@id": "cr:examples",
21
+ "@type": "@json"
22
+ },
23
+ "extract": "cr:extract",
24
+ "field": "cr:field",
25
+ "fileProperty": "cr:fileProperty",
26
+ "fileObject": "cr:fileObject",
27
+ "fileSet": "cr:fileSet",
28
+ "format": "cr:format",
29
+ "includes": "cr:includes",
30
+ "isLiveDataset": "cr:isLiveDataset",
31
+ "jsonPath": "cr:jsonPath",
32
+ "key": "cr:key",
33
+ "md5": "cr:md5",
34
+ "parentField": "cr:parentField",
35
+ "path": "cr:path",
36
+ "recordSet": "cr:recordSet",
37
+ "references": "cr:references",
38
+ "regex": "cr:regex",
39
+ "repeated": "cr:repeated",
40
+ "replace": "cr:replace",
41
+ "sc": "https://schema.org/",
42
+ "separator": "cr:separator",
43
+ "source": "cr:source",
44
+ "subField": "cr:subField",
45
+ "transform": "cr:transform"
46
+ },
47
+ "@type": "sc:Dataset",
48
+ "name": "rad-r",
49
+ "description": "Rad-R: A Real-World Raw-ADC Dataset and Benchmark for mmWave Automotive Radar Robustness. The first publicly released radar dataset combining raw ADC captures from a 4-chip TI MMWCAS-RF-EVM cascade radar (12 Tx x 16 Rx, 77 GHz) with physically induced hardware fault annotations across 4 fault types and 2 severity levels each, plus a healthy baseline. Synchronized with BNO055 IMU, DHT22 temperature, three GPS streams, and dual RPi cameras. v1.0 contains 9 capture runs (5 min each, 10 fps) totalling ~27 k radar frames.",
50
+ "conformsTo": "http://mlcommons.org/croissant/1.0",
51
+ "url": "https://huggingface.co/datasets/radr-anon-2026/radr",
52
+ "version": "1.0.0",
53
+ "datePublished": "2026-05-07",
54
+ "license": "https://creativecommons.org/licenses/by/4.0/",
55
+ "citeAs": "@inproceedings{radr2026, title={Rad-R: A Real-World Raw-ADC Dataset and Benchmark for mmWave Automotive Radar Robustness}, author={Anonymous}, booktitle={NeurIPS Evaluations and Datasets Track}, year={2026}}",
56
+ "keywords": [
57
+ "radar",
58
+ "mmwave",
59
+ "raw-adc",
60
+ "fault diagnosis",
61
+ "automotive radar",
62
+ "sensor fusion",
63
+ "benchmark"
64
+ ],
65
+ "creator": {
66
+ "@type": "Organization",
67
+ "name": "Anonymous (NeurIPS 2026 submission)"
68
+ },
69
+
70
+ "rai:dataCollection": "Captured indoor and outdoor with a vehicle-mounted TI MMWCAS-RF-EVM (4-chip AWR1243 cascade, 77 GHz, 12 Tx x 16 Rx). Each fault was physically induced via dedicated hardware fixtures (precision yaw-offset jig with digital inclinometer, eccentric-mass DC vibration motor, polycarbonate sheet on PP radome, copper tape on Rx antennas). Severity is gated by measured physical quantities (IMU RMS, inclinometer angle, corner-reflector dB drop, single-tone calibration sweep). Capture protocol: each run is a continuous 5-minute recording at ~10 fps, with the same fault held throughout to provide stable training signal.",
71
+ "rai:dataAnnotationProtocol": "Per-clip labels (fault_class, severity) are entered once at capture-time by the operator into the RPi sensor-collection script; no manual frame-by-frame annotation. The companion sensors (IMU RMS, board-minus-ambient temperature, GPS speed) provide automatic per-frame regression-quality severity ground truth aligned to each radar frame via timestamp index lookups.",
72
+ "rai:dataReleaseMaintenancePlan": "Initial release: anonymized v1.0 hosted on HuggingFace (gated, auto-approve) for the NeurIPS double-blind review window. At camera-ready, ownership will be transferred to a stable academic organization account and the dataset will be made public. The full ~324 GB raw .bin captures will be deposited on Zenodo at camera-ready. Updates and v1.1 (with thermal-stress and RF-interference faults) will be tagged as separate releases.",
73
+ "rai:personalSensitiveInformation": "The RPi camera streams (Cam2 / Cam4) capture environmental scenes and may contain pedestrians or license plates. The released dataset includes only the camera frame paths and timestamps — the camera PNG frames themselves are NOT in this HuggingFace release. The radar data and companion-sensor streams contain no personally-identifiable information.",
74
+ "rai:dataLimitations": "v1.0 is captured with a single radar device on a single day, with overlapping scenes across faults. Genuine out-of-distribution evaluation along device / day / scene axes is therefore not supported by this release; planned for v1.1. Severity coverage is two levels per fault (mild and severe) rather than the three levels (S1, S2, S3) specified in the taxonomy; S3-level faults will be added in v1.1. Two of the six fault types in the taxonomy (thermal stress, RF interference) are not captured in v1.0.",
75
+ "rai:dataBiases": "Captures were collected with one operator on one day; no inter-operator variability is sampled in v1.0. Scene diversity is limited to the test environment used for the May 2026 collection session.",
76
+ "rai:dataUseCases": "Intended for academic research on (1) hardware fault diagnosis on mmWave automotive radar, (2) raw-ADC representation learning, (3) state-space modeling on complex IQ signals, and (4) sensor-fusion robustness under controlled degradation. Not intended as a substitute for safety-critical certification testing of production radar systems.",
77
+ "rai:dataSocialImpact": "Improves the reproducibility of radar fault diagnosis research and enables model-based health monitoring of automotive radars, contributing to safer ADAS / autonomous-driving systems. By releasing raw ADC under open license, lowers the barrier for academic groups without specialized data-collection hardware.",
78
+ "rai:dataSyntheticIndicator": "All captures are real physical recordings from a TI MMWCAS-RF-EVM. No synthetic data, no augmentation applied prior to release.",
79
+
80
+ "distribution": [
81
+ {
82
+ "@type": "cr:FileObject",
83
+ "@id": "training-cache",
84
+ "name": "training_cache.h5",
85
+ "description": "Pre-processed range-Doppler maps and raw IQ subset, 1800 frames (200 sampled per capture). Recommended entry point for ML training.",
86
+ "contentUrl": "training_cache.h5",
87
+ "encodingFormat": "application/x-hdf5",
88
+ "sha256": "TBD"
89
+ },
90
+ {
91
+ "@type": "cr:FileSet",
92
+ "@id": "synced-hdf5-set",
93
+ "name": "synced_hdf5",
94
+ "description": "9 sensor-sync HDF5 files, one per capture run. Per-radar-frame timestamps + IMU + DHT22 + GPS streams + camera paths.",
95
+ "encodingFormat": "application/x-hdf5",
96
+ "includes": "synced_hdf5/*.h5"
97
+ }
98
+ ],
99
+
100
+ "recordSet": [
101
+ {
102
+ "@type": "cr:RecordSet",
103
+ "@id": "training-cache-records",
104
+ "name": "training_cache_records",
105
+ "description": "Each record is one radar frame from one capture, with the RD map, the raw IQ slab (Tx=0 slice), and the fault/severity labels.",
106
+ "field": [
107
+ {
108
+ "@type": "cr:Field",
109
+ "@id": "rd_map",
110
+ "name": "rd_map",
111
+ "description": "Range-Doppler magnitude map, 224x224, dB scale, normalized per frame.",
112
+ "dataType": "sc:Float",
113
+ "source": {
114
+ "fileObject": { "@id": "training-cache" },
115
+ "extract": { "fileProperty": "content" }
116
+ }
117
+ },
118
+ {
119
+ "@type": "cr:Field",
120
+ "@id": "iq",
121
+ "name": "iq",
122
+ "description": "Raw complex IQ slab, shape (64 loops, 256 samples, 16 Rx), TDM-MIMO Tx=0 slice.",
123
+ "dataType": "sc:Float",
124
+ "source": {
125
+ "fileObject": { "@id": "training-cache" },
126
+ "extract": { "fileProperty": "content" }
127
+ }
128
+ },
129
+ {
130
+ "@type": "cr:Field",
131
+ "@id": "fault_label",
132
+ "name": "fault_label",
133
+ "description": "Fault class. 0=healthy, 1=vibration, 2=misalignment, 3=blockage, 4=rx_degradation.",
134
+ "dataType": "sc:Integer",
135
+ "source": {
136
+ "fileObject": { "@id": "training-cache" },
137
+ "extract": { "fileProperty": "content" }
138
+ }
139
+ },
140
+ {
141
+ "@type": "cr:Field",
142
+ "@id": "severity_label",
143
+ "name": "severity_label",
144
+ "description": "Severity level. 0=healthy baseline, 1=mild, 2=severe.",
145
+ "dataType": "sc:Integer",
146
+ "source": {
147
+ "fileObject": { "@id": "training-cache" },
148
+ "extract": { "fileProperty": "content" }
149
+ }
150
+ },
151
+ {
152
+ "@type": "cr:Field",
153
+ "@id": "capture",
154
+ "name": "capture",
155
+ "description": "Source capture identifier (one of healthy / yaw0 / yaw2 / vib1 / vib2 / blockage1 / blockage2 / degrade0 / degrade1).",
156
+ "dataType": "sc:Text",
157
+ "source": {
158
+ "fileObject": { "@id": "training-cache" },
159
+ "extract": { "fileProperty": "content" }
160
+ }
161
+ }
162
+ ]
163
+ }
164
+ ]
165
+ }
radr.py ADDED
@@ -0,0 +1,100 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """HuggingFace `datasets` loader for Rad-R v1.0.
2
+
3
+ Usage:
4
+ from datasets import load_dataset
5
+ ds = load_dataset("radr-anon-2026/radr", trust_remote_code=True)
6
+ sample = ds["train"][0]
7
+ # sample.keys() == {"rd_map", "iq_real", "iq_imag", "fault_label",
8
+ # "severity_label", "capture", "frame_idx"}
9
+ """
10
+ from __future__ import annotations
11
+
12
+ import datasets
13
+ import h5py
14
+ import numpy as np
15
+
16
+
17
+ _CITATION = """\
18
+ @inproceedings{radr2026,
19
+ title = {Rad-R: A Real-World Raw-ADC Dataset and Benchmark for mmWave Automotive Radar Robustness},
20
+ author = {Anonymous},
21
+ booktitle = {NeurIPS Evaluations and Datasets Track},
22
+ year = {2026}
23
+ }
24
+ """
25
+
26
+ _DESCRIPTION = """\
27
+ The first publicly released radar dataset combining raw ADC captures from a
28
+ TI MMWCAS-RF-EVM 4-chip cascade (12 Tx x 16 Rx = 192 virtual channels at 77
29
+ GHz) with physically induced hardware fault annotations. v1.0 contains 9
30
+ capture runs (5 min each at 10 fps): healthy baseline, plus 4 fault types
31
+ (vibration, misalignment, blockage, Rx degradation) at 2 severity levels each.
32
+ Synchronized with BNO055 IMU, DHT22 board/ambient temperature, three GPS
33
+ streams, and dual Raspberry Pi cameras.
34
+ """
35
+
36
+ _HOMEPAGE = "https://huggingface.co/datasets/radr-anon-2026/radr"
37
+ _LICENSE = "CC BY 4.0"
38
+
39
+ _FAULT_NAMES = ["healthy", "vibration", "misalignment", "blockage", "rx_degradation"]
40
+ _SEVERITY_NAMES = ["s0_healthy", "s1_mild", "s2_severe"]
41
+
42
+
43
+ class RadRConfig(datasets.BuilderConfig):
44
+ def __init__(self, **kwargs):
45
+ super().__init__(version=datasets.Version("1.0.0"), **kwargs)
46
+
47
+
48
+ class RadR(datasets.GeneratorBasedBuilder):
49
+ VERSION = datasets.Version("1.0.0")
50
+ BUILDER_CONFIGS = [
51
+ RadRConfig(name="default", description="Pre-processed RD maps + raw IQ subset (1800 frames)."),
52
+ ]
53
+ DEFAULT_CONFIG_NAME = "default"
54
+
55
+ def _info(self):
56
+ return datasets.DatasetInfo(
57
+ description=_DESCRIPTION,
58
+ features=datasets.Features({
59
+ "rd_map": datasets.Array2D(shape=(224, 224), dtype="float32"),
60
+ "iq_real": datasets.Array3D(shape=(64, 256, 16), dtype="float32"),
61
+ "iq_imag": datasets.Array3D(shape=(64, 256, 16), dtype="float32"),
62
+ "fault_label": datasets.ClassLabel(names=_FAULT_NAMES),
63
+ "severity_label": datasets.ClassLabel(names=_SEVERITY_NAMES),
64
+ "capture": datasets.Value("string"),
65
+ "frame_idx": datasets.Value("int32"),
66
+ }),
67
+ supervised_keys=("rd_map", "fault_label"),
68
+ homepage=_HOMEPAGE,
69
+ license=_LICENSE,
70
+ citation=_CITATION,
71
+ )
72
+
73
+ def _split_generators(self, dl_manager):
74
+ cache_url = "training_cache.h5"
75
+ local = dl_manager.download(cache_url)
76
+ return [
77
+ datasets.SplitGenerator(name=datasets.Split.TRAIN, gen_kwargs={"path": local}),
78
+ ]
79
+
80
+ def _generate_examples(self, path):
81
+ with h5py.File(path, "r") as f:
82
+ n = int(f.attrs.get("n_total", f["fault_label"].shape[0]))
83
+ rd = f["rd_map"]
84
+ iq = f["iq"]
85
+ fault = f["fault_label"]
86
+ severity = f["severity_label"]
87
+ capture = f["capture"]
88
+ frame_idx = f["frame_idx"]
89
+
90
+ for i in range(n):
91
+ iq_complex = iq[i]
92
+ yield i, {
93
+ "rd_map": rd[i],
94
+ "iq_real": iq_complex.real.astype(np.float32),
95
+ "iq_imag": iq_complex.imag.astype(np.float32),
96
+ "fault_label": int(fault[i]),
97
+ "severity_label": int(severity[i]),
98
+ "capture": capture[i].decode() if isinstance(capture[i], bytes) else str(capture[i]),
99
+ "frame_idx": int(frame_idx[i]),
100
+ }
synced_hdf5/blockage1.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7ad882cc5d5b2755e6ed13ede4e2dc18bb3a1e4a2b6270ca247af6db6fa88326
3
+ size 2412822
synced_hdf5/blockage2.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8cb87168b64a9672f29ca158f9fc155b3d7ed3115500c3e24aa840e963c8a7ea
3
+ size 3132962
synced_hdf5/degrade0.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f4db4bbd4f5c7796093783a777428eb34504ccd2bc8dae51453f64ddd50af525
3
+ size 3521664
synced_hdf5/degrade1.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3e5f2022627979edc4db3856e0f83938d4e091196231d3122ef10191412c845e
3
+ size 2930247
synced_hdf5/healthy.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4fa7d8863c77a88ac95b0a423abf10ef0ede5ae232bec88143254d8b0b8b5119
3
+ size 3639270
synced_hdf5/vib1.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4f6add28c2f7f8b54275f3fe13c29a24f951b3a558fe8bbeae1472a586951a07
3
+ size 2345411
synced_hdf5/vib2.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bfe721ec6d1c507c08c1d51d2b3ba491938e9337d3531342132f394de6bd8dd0
3
+ size 3072508
synced_hdf5/yaw0.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7f08a2ffd1542a1c01bef080729ebe464e9bb7c3a708c32d67bba9801a5bf842
3
+ size 2713149
synced_hdf5/yaw2.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5c425c423f2f7e629e7d4b81a04cde8e79836cf135199a24b20297e4f61180a2
3
+ size 2565401