cgeorgiaw HF Staff commited on
Commit
1a03077
·
verified ·
1 Parent(s): 1e2cecd

Add files using upload-large-folder tool

Browse files
README.md CHANGED
@@ -8,37 +8,17 @@ tags:
8
  - electron-microscopy
9
  - STEM
10
  - materials-science
 
11
  size_categories:
12
  - 10K<n<100K
13
  configs:
14
  - config_name: default
15
  data_files:
16
  - split: train
17
- path:
18
- - metadata.csv
19
- dataset_info:
20
- features:
21
- - name: file_name
22
- dtype: image
23
- - name: original_filename
24
- dtype: string
25
- - name: width
26
- dtype: int32
27
- - name: height
28
- dtype: int32
29
- - name: dtype
30
- dtype: string
31
- - name: min_value
32
- dtype: float32
33
- - name: max_value
34
- dtype: float32
35
- - name: mean_value
36
- dtype: float32
37
- - name: std_value
38
- dtype: float32
39
  ---
40
 
41
- # Warwick STEM Dataset
42
 
43
  A collection of 19,769 experimental scanning transmission electron microscopy (STEM) images from the University of Warwick, spanning hundreds of diverse materials projects collected between 2010 and 2018.
44
 
@@ -46,23 +26,18 @@ A collection of 19,769 experimental scanning transmission electron microscopy (S
46
 
47
  This dataset contains experimental STEM images originally published as part of the [Warwick Electron Microscopy Datasets](https://github.com/Jeffrey-Ede/datasets) by Jeffrey Ede. The images cover a wide range of materials and imaging conditions, making them useful for self-supervised pre-training of microscopy foundation models.
48
 
49
- ## Dataset Structure
50
 
51
- ```
52
- warwick_stem_dataset/
53
- ├── README.md
54
- ├── metadata.csv
55
- └── images/
56
- ├── warwick_stem_00000.tif
57
- ├── warwick_stem_00001.tif
58
- └── ... (19,769 images)
59
- ```
60
 
61
  ### Metadata Fields
62
 
63
  | Field | Type | Description |
64
  |-------|------|-------------|
65
- | `file_name` | string | Relative path to the TIFF image |
66
  | `original_filename` | string | Original filename from the Warwick dataset |
67
  | `width` | int | Image width in pixels |
68
  | `height` | int | Image height in pixels |
@@ -74,26 +49,25 @@ warwick_stem_dataset/
74
 
75
  ### Image Properties
76
 
 
77
  - **Format:** 32-bit float TIFF
78
- - **Resolutions:** Mixed, predominantly 2048x2048 (47%), 1024x1024 (34%), and 512x512 (9%), with various other sizes
79
  - **Modality:** STEM (various detector configurations)
80
- - **Instruments:** Multiple instruments across the University of Warwick (2010-2018)
81
-
82
- ### Resolution Distribution
83
-
84
- | Resolution | Count | Percentage |
85
- |------------|-------|------------|
86
- | 2048x2048 | 7,950 | 40% |
87
- | 1024x1024 | 6,716 | 34% |
88
- | 512x512 | 3,082 | 16% |
89
- | Other | 2,021 | 10% |
90
 
91
  ## Usage
92
 
93
  ```python
94
- from datasets import load_dataset
 
 
 
 
 
95
 
96
- ds = load_dataset("path/to/warwick_stem_dataset")
 
 
97
  ```
98
 
99
  ## Source
 
8
  - electron-microscopy
9
  - STEM
10
  - materials-science
11
+ - webdataset
12
  size_categories:
13
  - 10K<n<100K
14
  configs:
15
  - config_name: default
16
  data_files:
17
  - split: train
18
+ path: "train-*.tar"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19
  ---
20
 
21
+ # Warwick STEM Dataset (WebDataset)
22
 
23
  A collection of 19,769 experimental scanning transmission electron microscopy (STEM) images from the University of Warwick, spanning hundreds of diverse materials projects collected between 2010 and 2018.
24
 
 
26
 
27
  This dataset contains experimental STEM images originally published as part of the [Warwick Electron Microscopy Datasets](https://github.com/Jeffrey-Ede/datasets) by Jeffrey Ede. The images cover a wide range of materials and imaging conditions, making them useful for self-supervised pre-training of microscopy foundation models.
28
 
29
+ ## Format
30
 
31
+ WebDataset format: 170 TAR shards (~1 GB each), 160 GB total.
32
+
33
+ Each sample in a shard contains:
34
+ - `{idx:06d}.tif` — 32-bit float TIFF image
35
+ - `{idx:06d}.json` — metadata
 
 
 
 
36
 
37
  ### Metadata Fields
38
 
39
  | Field | Type | Description |
40
  |-------|------|-------------|
 
41
  | `original_filename` | string | Original filename from the Warwick dataset |
42
  | `width` | int | Image width in pixels |
43
  | `height` | int | Image height in pixels |
 
49
 
50
  ### Image Properties
51
 
52
+ - **Count:** 19,769
53
  - **Format:** 32-bit float TIFF
54
+ - **Resolutions:** Mixed 2048x2048 (40%), 1024x1024 (34%), 512x512 (16%), other (10%)
55
  - **Modality:** STEM (various detector configurations)
56
+ - **Instruments:** Multiple instruments at the University of Warwick (20102018)
 
 
 
 
 
 
 
 
 
57
 
58
  ## Usage
59
 
60
  ```python
61
+ import webdataset as wds
62
+ from torch.utils.data import DataLoader
63
+
64
+ url = "path/to/warwick_stem_wds/train-{0000..0169}.tar"
65
+ dataset = wds.WebDataset(url).decode().shuffle(1000)
66
+ dataloader = DataLoader(dataset, batch_size=32, num_workers=4)
67
 
68
+ for sample in dataloader:
69
+ image = sample[".tif"]
70
+ metadata = sample[".json"]
71
  ```
72
 
73
  ## Source
train-0014.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:91601e42eb164cf58e3cd6ee1b52dfb4928b23d1a3810d88a9b9e1415960aeed
3
+ size 1002803200
train-0017.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b49e8cd04e4c0038264b3120c44fb5a7589203ef2d557c729a0c7086005d1639
3
+ size 1002752000
train-0021.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f4385c920c8b697c342fd8dd059300a14cbee96894dd5045ebf93a0e7ba2cab6
3
+ size 1009551360
train-0028.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ad93d82ded2733fae40e4ed2352a185a3228e8c930d6065cbf0beb20b062183e
3
+ size 1015941120
train-0029.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:aecf8da1fc0639cd7665fe655163af35bf54f93560fac7290830e779829753e0
3
+ size 1001318400
train-0033.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8f9e1d3059761308f39729d9caa587b506876b8dafff1df0ecb87bcb6b58091f
3
+ size 1010012160
train-0035.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cf8d923488fc9acce9f94f4547213a45bf50765f8087264626d08da6d29236b2
3
+ size 1003284480
train-0041.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bcb5573285c391748f151be5de56934c9e8f50a8afc7bcf5bb9bd6621e4d40cf
3
+ size 1006602240
train-0046.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:73d8729ff62b89f29a2af4e204db59fdad8a2f881d4f1b8c38be2f895208d5cb
3
+ size 1015101440
train-0049.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:74ebba6419a6f803ed10d779c47b0d6d73b7f002fb016025d7ef458eefe51b00
3
+ size 1010237440
train-0050.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bef2534f334a448774776f6d0fd94259686e74a33a8b297fd27f09f523ae26ab
3
+ size 1005168640
train-0051.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:04664bb19fd39cec1f4f69f7bb1e1e8d2aac5c493ce883f29aaf63c8118229c2
3
+ size 1001041920
train-0059.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3baec9f04b99d716c544eb97e7cf5b3d1c27e0eb05cac8d6f46e8c4e26bed762
3
+ size 1001953280
train-0061.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0a196e80652bcee181c4703ca8091d0bd4772dd254babf36ae5ec78faed1dd02
3
+ size 1002004480
train-0065.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:15d968c2d593e2370c4c289d1eb85957d55b88a27d3049ac2ceb86c4895d1f75
3
+ size 1003857920
train-0070.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4b141c8361a727dc2668f78ca12361aa328fc8c7027feb63b457ef60be0212b5
3
+ size 1011066880
train-0074.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:605ed9db18ec232d3fa6d8a13d5fe54495c8e4e6ef403179c2b88b68c02a15c4
3
+ size 1006878720
train-0075.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a5eff73fd3da14a5109709f13bfe548b8afa97b5223ee6649f1fc66285c008ca
3
+ size 1004656640
train-0077.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f2621d10bcdf8390aa249a5d7827e6ea62ec354583eae3be37d6d2aff8253057
3
+ size 1011507200
train-0078.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2d5085f5aa97479b7a17dfc8fa833a978eab75251d26c770598a345689271ec1
3
+ size 1003765760
train-0082.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0698bf9d9604d729ed415360c4be481549f0e22cfac95c1827b3d49b1e5a1084
3
+ size 1008742400
train-0089.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:96f68f3a996eca0cf2e16a5d9f1ab58e9bca866736bd419060c256b2426aab02
3
+ size 1013094400
train-0097.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a93cb0e7b6956f9f04a85fac97461460cfdd154ad62f2ee620c6e5c9c7cb3f5c
3
+ size 1005813760
train-0104.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ce20687afab88df34b8b2e73455453e871df27318a1f37ae40e94f4d53ac0fa0
3
+ size 1013258240
train-0105.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:215c347cae175b7ee2b45bce9312aa19db5949001f1491bab9437b02dfba568c
3
+ size 1012551680
train-0107.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:de564fe21582354d430f9031d0abcba409a5be2ab6d6a1eeba918cd094c0eecb
3
+ size 1016176640
train-0108.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c8d7c46c81f268828f057e3c111e78f23b00c1567bf30baa8cacfcecace09304
3
+ size 1003796480
train-0111.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ad4a3da3cec6780cb42f591477cc0212e3cdf786a3872ff66a53792468f812a7
3
+ size 1001134080
train-0113.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:156a8b06f005e4387470f2edaad0353c515ddbef3624dcdd668d01a06d550e92
3
+ size 1002526720
train-0116.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8c409d5cfac0e0d2c0b8beda5511dd38f6b5a32ac163b6e1a9b3f7cd74227a55
3
+ size 1010882560
train-0122.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f4228a7627b1b1890fcc75d51895b370ce6698401fc14746282c6fbc4207660a
3
+ size 1013073920
train-0124.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:469c962ce456ea934640f43f03f969d6c9e586784c846795fb986b679081ca5d
3
+ size 1012142080
train-0125.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8cf2059f5348fa7f41bae38e85bd7e060c54beecf1d953efd969207b7763ad5d
3
+ size 1004687360
train-0128.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ad801162d1b95802a91f4feeba7be67e2ca88a417cd2f7fd14b9a81096f253a6
3
+ size 1000888320
train-0129.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:99a104d5d1c8f515da544d747c2aa4f3fc4d62026ffbc97806b9bc8f53b049e3
3
+ size 1006776320
train-0130.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bafd5b243da2b0f33e0cf9fa2ec590962877e95a7ce116d731c4f9b711b3c95d
3
+ size 1002854400
train-0134.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4122e99a78c97f7ee9ccddce8cde061af37910dfffeafd0773cff8d3aef44676
3
+ size 1003315200
train-0137.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:77f8c8beb2b36450092c09907b6ff0db95c2ef92cc29067e0f1fd33b6c39d61f
3
+ size 1002895360
train-0138.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:63d2560de1a5419b1c29d183ab9be56312484cd03c452459d0bed767f77a8bd5
3
+ size 1005619200
train-0149.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:10e3cdd79e819e2354f8a7462da3c05c8e8ce5f191a0456aa3159ed36e95a1d2
3
+ size 1012090880
train-0151.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:575efa4e566e09a78e0708393123364bc86c74ce31b2cc37689c2af18ab99113
3
+ size 1015971840
train-0152.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0fba9dfbd7cebe64e21949600beb09dd51b29bd905c9d8382f38b0728dadcd1a
3
+ size 1003274240
train-0160.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a82af8d7490db6a507d81aecccd4406f9d6ffbe14599ba72b88613417693aa04
3
+ size 1003745280
train-0162.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:406219e678be16f9d22e504496560abd8deb58890db0c4d6e88c041b7c96c75a
3
+ size 1002588160
train-0164.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e7341ec3a3ef71feb03f070ee8532d0d0b79e7f811667f648c8b6ed49dc50630
3
+ size 1003663360
train-0165.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:09968360ef811068e47d1feddae421757c91339028f3f346ca4770b6412f2225
3
+ size 1002588160
train-0166.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9bfdc330caf28f87e9db4432bb2ff0ca05269cec9ab71faa0cfc9fa054403b63
3
+ size 1016432640
train-0168.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ce6fc5f7415cbeb4b31412f4821ece71da582727022025213d933299b62aa6c0
3
+ size 1005752320
train-0169.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cfaca8ffddccd20a86ab4bcf2ccd2a43edb70a239e3e8ff478f2f076e2d72598
3
+ size 986705920