JazonDeng Tocmac commited on
Commit
bae642d
·
0 Parent(s):

Duplicate from Tocmac/ReinAD

Browse files

Co-authored-by: Xu Wang <Tocmac@users.noreply.huggingface.co>

This view is limited to 50 files because it contains too many changes.   See raw diff
.gitattributes ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ *.7z filter=lfs diff=lfs merge=lfs -text
2
+ *.arrow filter=lfs diff=lfs merge=lfs -text
3
+ *.bin filter=lfs diff=lfs merge=lfs -text
4
+ *.bz2 filter=lfs diff=lfs merge=lfs -text
5
+ *.ckpt filter=lfs diff=lfs merge=lfs -text
6
+ *.ftz filter=lfs diff=lfs merge=lfs -text
7
+ *.gz filter=lfs diff=lfs merge=lfs -text
8
+ *.h5 filter=lfs diff=lfs merge=lfs -text
9
+ *.joblib filter=lfs diff=lfs merge=lfs -text
10
+ *.lfs.* filter=lfs diff=lfs merge=lfs -text
11
+ *.lz4 filter=lfs diff=lfs merge=lfs -text
12
+ *.mds filter=lfs diff=lfs merge=lfs -text
13
+ *.mlmodel filter=lfs diff=lfs merge=lfs -text
14
+ *.model filter=lfs diff=lfs merge=lfs -text
15
+ *.msgpack filter=lfs diff=lfs merge=lfs -text
16
+ *.npy filter=lfs diff=lfs merge=lfs -text
17
+ *.npz filter=lfs diff=lfs merge=lfs -text
18
+ *.onnx filter=lfs diff=lfs merge=lfs -text
19
+ *.ot filter=lfs diff=lfs merge=lfs -text
20
+ *.parquet filter=lfs diff=lfs merge=lfs -text
21
+ *.pb filter=lfs diff=lfs merge=lfs -text
22
+ *.pickle filter=lfs diff=lfs merge=lfs -text
23
+ *.pkl filter=lfs diff=lfs merge=lfs -text
24
+ *.pt filter=lfs diff=lfs merge=lfs -text
25
+ *.pth filter=lfs diff=lfs merge=lfs -text
26
+ *.rar filter=lfs diff=lfs merge=lfs -text
27
+ *.safetensors filter=lfs diff=lfs merge=lfs -text
28
+ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
29
+ *.tar.* filter=lfs diff=lfs merge=lfs -text
30
+ *.tar filter=lfs diff=lfs merge=lfs -text
31
+ *.tflite filter=lfs diff=lfs merge=lfs -text
32
+ *.tgz filter=lfs diff=lfs merge=lfs -text
33
+ *.wasm filter=lfs diff=lfs merge=lfs -text
34
+ *.xz filter=lfs diff=lfs merge=lfs -text
35
+ *.zip filter=lfs diff=lfs merge=lfs -text
36
+ *.zst filter=lfs diff=lfs merge=lfs -text
37
+ *tfevents* filter=lfs diff=lfs merge=lfs -text
38
+ # Audio files - uncompressed
39
+ *.pcm filter=lfs diff=lfs merge=lfs -text
40
+ *.sam filter=lfs diff=lfs merge=lfs -text
41
+ *.raw filter=lfs diff=lfs merge=lfs -text
42
+ # Audio files - compressed
43
+ *.aac filter=lfs diff=lfs merge=lfs -text
44
+ *.flac filter=lfs diff=lfs merge=lfs -text
45
+ *.mp3 filter=lfs diff=lfs merge=lfs -text
46
+ *.ogg filter=lfs diff=lfs merge=lfs -text
47
+ *.wav filter=lfs diff=lfs merge=lfs -text
48
+ # Image files - uncompressed
49
+ *.bmp filter=lfs diff=lfs merge=lfs -text
50
+ *.gif filter=lfs diff=lfs merge=lfs -text
51
+ *.png filter=lfs diff=lfs merge=lfs -text
52
+ *.tiff filter=lfs diff=lfs merge=lfs -text
53
+ # Image files - compressed
54
+ *.jpg filter=lfs diff=lfs merge=lfs -text
55
+ *.jpeg filter=lfs diff=lfs merge=lfs -text
56
+ *.webp filter=lfs diff=lfs merge=lfs -text
57
+ # Video files - compressed
58
+ *.mp4 filter=lfs diff=lfs merge=lfs -text
59
+ *.webm filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-nc-sa-4.0
3
+ language:
4
+ - en
5
+ size_categories:
6
+ - 100B<n<1T
7
+ ---
8
+ # ReinAD: Towards Real-world Industrial Anomaly Detection with a Comprehensive Contrastive Dataset
9
+
10
+ Our dataset consists of a training set and a test set. All normal and anomaly images are in hdf5 format. In the mask annotations, pixels with a value of 0 represent normal regions, and pixels with a value of 1 represent anomaly regions.
11
+
12
+ The file structure of the training set and the test set are consistent, as follows:
13
+
14
+ ```text
15
+ dataset/
16
+ ├── train/
17
+ │ ├── category1.h5
18
+ │ ├── category2.h5
19
+ │ └── ...
20
+
21
+ └── test/
22
+ ├── category1.h5
23
+ ├── category2.h5
24
+ └── ...
25
+ ```
26
+
27
+ The structure of the hdf5 file is as follows, where ```chunk_size = 100```:
28
+ ```text
29
+ / (root)
30
+ ├── attrs
31
+ │ ├── split: "train"/"test"
32
+ │ └── category: category_name
33
+
34
+ ├── Images
35
+ │ ├── Anomaly_0: [chunk_size, H, W, C] # Anomaly images
36
+ │ ├── Anomaly_1: [chunk_size, H, W, C]
37
+ │ ├── ...
38
+ │ ├── Normal_0: [chunk_size, H, W, C] # Normal images
39
+ │ ├── Normal_1: [chunk_size, H, W, C]
40
+ │ └── ...
41
+
42
+ └── Masks
43
+ ├── Anomaly_0: [chunk_size, H, W] # Pixel-level annotations for anomaly images
44
+ ├── Anomaly_1: [chunk_size, H, W]
45
+ └── ...
46
+ ```
test/PCB_solder_1.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:aea9be1e9468d285c421629b55f441bb6c94757b67fe8a227aceaf708efe32a1
3
+ size 308107274
test/PCB_solder_2.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7071cb8841dbb36c9bac160072c31bebea2d90a7b886fd44de0491d87455f8e7
3
+ size 381937052
test/bearing_1.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:81cbbed649150ded2765cfc3d8c9f8ba7c522ae2a205eaa5d580b99ebfaac918
3
+ size 710393990
test/cable_1.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3afafdd856df33048ab9d4876c8cbf09ce2ca1c2dddf12954ebe1572b897ad9d
3
+ size 1438931442
test/cable_3.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f7baa18b4de668bf9c1c5a84390ea738d5bb83d31e9c1f3379912855ccfb112a
3
+ size 44785850
test/led_1.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:29c7c065e8a8ddeeb5e282609aa5685bc34045010ff61557b3a35f186a78d416
3
+ size 368901913
test/led_3.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:46b33ecf946ca97460b76be62b1cc6f9922c0448571fe9cc32eae45871418fdd
3
+ size 2885201711
test/lens_2.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9bf4396d216843b0a52da17b5bc474d72008dfe4649aeb04908b9df813b7b4fb
3
+ size 148960088
test/metal_piece_1.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1238bbda5da7e48aac8a8dc37727e120d5cc8d951ad38f0d7f6308cef493b7b3
3
+ size 45293565
test/metal_piece_2.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:42aac0d5503bea6a204c3ff80b0beeea0676b32ee58bbf7a5cfb80fce7b04a2f
3
+ size 193130492
test/metal_piece_4.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0cd4cfaf88a28eb6c4c42ec563f39d8928d42353256c09b2b5dbac39dd81983b
3
+ size 1192686652
test/metal_piece_5.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2e91600b66ab9b724414bb7e0fed87cf1c53bff791cf239c92cdd23cc66e83c1
3
+ size 514367341
test/metal_piece_7.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f8ea1e86ba34f912201a7c0a86fd91ea481c6808695762f75f213d57912a1dcb
3
+ size 323994375
test/metal_piece_8.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ab17b182a6fd01b1222706437a53940ab17ebc488707b1034322dd521a6e4c0a
3
+ size 1148724219
test/piston_ring_1.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2000d6db0b09a933e0fe13dc2110e4070d9d1dd59de3258dbbd010a61367aa96
3
+ size 6116874044
test/piston_ring_3.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:af023eef0fcd74e760f4fb6a5dcbb4f32cb6777527879feabac695df2505e1b5
3
+ size 9003247171
test/plastic_box.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:95817b28f5ffa8b3a2d952ee9c2edef1d8e4c3fdb2578ba94a35d58eb686bf36
3
+ size 8361099367
test/plastic_cover_1.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:21214245c97d6974b5b8758bc81fec607f7748793a9f1ccc30d13a3a663e715c
3
+ size 3192883354
test/profile_surface_1.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8c13acf4f428bf379d39948e7e969dca9d3bc5b5facee68db6d32431e4605766
3
+ size 4735428602
test/thread.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:43f8e4867fc5bde4969cf9d626260eff24ad9b27c2d94e60ce7ed97660b61513
3
+ size 2005394847
test/wafer_1.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:990af6f233e20e886bf0ffd58a9d6e089c665092774384979d68547c3cc7b67c
3
+ size 506794874
test/wafer_2.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1ce080957f7c13f2ca6ceb5a5936d2483874cead59e72fcc0bf3704c6ceac395
3
+ size 16633085026
train/PCB_terminal.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cd161084b984d7942506bcce9fa493359e23d5c679c00d895355af37536b7a95
3
+ size 524283243
train/bearing_10.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e943308344e9a6ae67aa9dac23126f4f33259e87f6756d31f2b9e240203d9503
3
+ size 1849301021
train/bearing_11.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eac505ffa56a047c7f484a77ad7f8dfe78a1cefc1cd43d83e38694c25e397659
3
+ size 2123825717
train/bearing_12.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0cf794ca830399479431892290c5b2627cedcacd21c30b1c2c1541f011a692ef
3
+ size 1654787305
train/bearing_2.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:032854dcf2856fea88de00cee0850a784a8cf1160de848c1179ef3c48d6da6f4
3
+ size 709845780
train/bearing_3.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:830557a55d5c77e46571fc1b77a749dc70fef0f130732c58070417ca9642b3fa
3
+ size 1740955225
train/bearing_4.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3f248642219c91c70956a28cb761b2635b12d1e6114765b5b9367a31b8ba897e
3
+ size 1992857872
train/bearing_5.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d587af1544ecd7aef95affb41b30db4b1c65e748b36bdedc5c4b8662c946cf46
3
+ size 1981708394
train/bearing_6.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3eb726e4f6fc544be85ad4d5dacc91c87c7c7108fb5c252d584c492ffc398423
3
+ size 630909147
train/bearing_7.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:df892332fabdfddf595f1a8cc9a20ea821c710bb3976c1a8cbcf96b120a02082
3
+ size 649598000
train/bearing_8.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:802c284af4116812bfe766d8111e4fc2c4d6917723bf14cda16a29aefef2c0cb
3
+ size 704031934
train/bearing_9.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:64a8a139b54d812a32ea0adb192340d176ab80f94e2bd4eead170afe1020110d
3
+ size 748990429
train/cable_2.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dbfde7dbcf3f01e9af85a43e6057eaf4f6b468ba007ec5ba6cf5ec4c3fabbb9b
3
+ size 8343076
train/led_2.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9445684947f8cbb50648f3be68b6223ad4eeef4098bd39bf5a7f5d61bec00e02
3
+ size 411591545
train/lens_1.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:27c93636fb5c119b3eb08ee91a2ff2d651fe80c1979c63b383d04c0c6173f8f0
3
+ size 216801213
train/metal_piece_10.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:422e753e9ba15258c251b74273f5fa7a7bf534d99cf7fa8c1a29a674df051dd9
3
+ size 1361778021
train/metal_piece_11.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:47ef14a5b696fe6c8dbc0105218956ae4c853f80b4f11902027ca76ba36ebe34
3
+ size 5829397168
train/metal_piece_3.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:df93fd855cfad6dd6bc59094a0b25cb19ccfe6c8c3f5542979a6110cb75aeb36
3
+ size 1016167566
train/metal_piece_6.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2470905287b8e8e9638af0b5971302d7a7e0e304126b22841079afa396732da7
3
+ size 742699885
train/metal_piece_9.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1967f741d93c5444229c79fc86a726212c7c8b5289e07ba92f22c7939518e851
3
+ size 490573455
train/miniled_1.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:65fd6af4e57d5f7c1adc8a2624b0d5191474afb426f1e1708483e567b36d26b3
3
+ size 6573910173
train/miniled_2.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a0b9a4322cd641564ec46dfc4f3a39d7cf37d7300eb9023feb8ddb1e9663f837
3
+ size 7909654176
train/miniled_3.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d4451014ef43fb06b99777654e63d9244fe13a0d9b7879118b45ed9af49658ff
3
+ size 6460278628
train/pinline.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9d2092304d9fe84f5809a8aec1d3cfeaef9c96d16ac47ea6afa50eb3800fe174
3
+ size 73303362
train/piston_ring_2.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b681f8da7a433084cf2c523c180c59057eaa8f7ba418588278bfb12cb66b13e3
3
+ size 1985463414
train/plastic_cover_2.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0fcd6f811fd5cef19bf55ca20eadfd434feae901d4677a438cfea45d7df71113
3
+ size 3193938962