Update image_bands to nested list format, make public
Browse files- README.md +7 -4
- data/test-00000-of-00002.parquet +2 -2
- data/test-00001-of-00002.parquet +2 -2
- data/train-00000-of-00011.parquet +3 -0
- data/train-00001-of-00011.parquet +3 -0
- data/train-00002-of-00011.parquet +3 -0
- data/train-00003-of-00011.parquet +3 -0
- data/train-00004-of-00011.parquet +3 -0
- data/train-00005-of-00011.parquet +3 -0
- data/train-00006-of-00011.parquet +3 -0
- data/train-00007-of-00011.parquet +3 -0
- data/train-00008-of-00011.parquet +3 -0
- data/train-00009-of-00011.parquet +3 -0
- data/train-00010-of-00011.parquet +3 -0
README.md
CHANGED
|
@@ -34,7 +34,10 @@ dataset_info:
|
|
| 34 |
- name: label_name
|
| 35 |
dtype: string
|
| 36 |
- name: image_bands
|
| 37 |
-
|
|
|
|
|
|
|
|
|
|
| 38 |
---
|
| 39 |
|
| 40 |
# Galaxy10 AION-1 Benchmark
|
|
@@ -81,11 +84,11 @@ These are the exact indices used in the AION-1 paper. The test set produces the
|
|
| 81 |
|
| 82 |
### Reconstructing `image_bands`
|
| 83 |
|
| 84 |
-
The `image_bands` column stores
|
| 85 |
|
| 86 |
```python
|
| 87 |
import numpy as np
|
| 88 |
-
cutout = np.
|
| 89 |
# cutout[0] = g-band, cutout[1] = r-band, cutout[2] = i-band, cutout[3] = z-band
|
| 90 |
```
|
| 91 |
|
|
@@ -102,7 +105,7 @@ from aion.model import AION
|
|
| 102 |
codec_manager = CodecManager(device="cuda")
|
| 103 |
model = AION.from_pretrained("polymathic-ai/aion-base").to("cuda").eval()
|
| 104 |
|
| 105 |
-
cutout = np.
|
| 106 |
image_flux = torch.tensor(cutout).unsqueeze(0).to("cuda")
|
| 107 |
image = LegacySurveyImage(flux=image_flux, bands=["DES-G", "DES-R", "DES-I", "DES-Z"])
|
| 108 |
tokens = codec_manager.encode(image)
|
|
|
|
| 34 |
- name: label_name
|
| 35 |
dtype: string
|
| 36 |
- name: image_bands
|
| 37 |
+
list:
|
| 38 |
+
list:
|
| 39 |
+
list:
|
| 40 |
+
dtype: float32
|
| 41 |
---
|
| 42 |
|
| 43 |
# Galaxy10 AION-1 Benchmark
|
|
|
|
| 84 |
|
| 85 |
### Reconstructing `image_bands`
|
| 86 |
|
| 87 |
+
The `image_bands` column stores float32 flux values as a nested list (4 bands x 96 x 96 pixels). To reconstruct:
|
| 88 |
|
| 89 |
```python
|
| 90 |
import numpy as np
|
| 91 |
+
cutout = np.array(row["image_bands"], dtype=np.float32) # (4, 96, 96)
|
| 92 |
# cutout[0] = g-band, cutout[1] = r-band, cutout[2] = i-band, cutout[3] = z-band
|
| 93 |
```
|
| 94 |
|
|
|
|
| 105 |
codec_manager = CodecManager(device="cuda")
|
| 106 |
model = AION.from_pretrained("polymathic-ai/aion-base").to("cuda").eval()
|
| 107 |
|
| 108 |
+
cutout = np.array(row["image_bands"], dtype=np.float32) # (4, 96, 96)
|
| 109 |
image_flux = torch.tensor(cutout).unsqueeze(0).to("cuda")
|
| 110 |
image = LegacySurveyImage(flux=image_flux, bands=["DES-G", "DES-R", "DES-I", "DES-Z"])
|
| 111 |
tokens = codec_manager.encode(image)
|
data/test-00000-of-00002.parquet
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c20137463d746fe87bfb10ab7fe37300b7937a4e637b98c8738125c41f1c1901
|
| 3 |
+
size 117825385
|
data/test-00001-of-00002.parquet
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3b87c03d6edfa6c9d900951285d0a0a862eeaa75cc818cbf644a104b14aa0d19
|
| 3 |
+
size 118095541
|
data/train-00000-of-00011.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:36e9fc41e181e0d13fc448841234692e648c8505df1b473067338e003fd31655
|
| 3 |
+
size 191764220
|
data/train-00001-of-00011.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4fbad13c64ce93e19b6ae43ae2427aa7bc9eec7283425846442d56f1782142a9
|
| 3 |
+
size 191167418
|
data/train-00002-of-00011.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f9723f89b3f32c9a6375b36854bc6f60f1d4f9d5917b315a73667b6489d189be
|
| 3 |
+
size 190863581
|
data/train-00003-of-00011.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:aeb6ca59c5e552671df2c067e28e48870792edd84d121bfb8cd9c140847a7c7c
|
| 3 |
+
size 192166852
|
data/train-00004-of-00011.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9009b753c04053ce3667fdcf97863506f5fb72abcee266ede841d61930d4017f
|
| 3 |
+
size 193150724
|
data/train-00005-of-00011.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:abbe1e483941ba1303012901287f19602773d9fef0db684ba769cc8a3f32528b
|
| 3 |
+
size 191659413
|
data/train-00006-of-00011.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0bc3fc46aff61e317520f87d93addf0d145c8ec53411e1414f5c2eb957a2c747
|
| 3 |
+
size 190292852
|
data/train-00007-of-00011.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:deeeeb6a97218c2ac3a9375d53e02a7ae2796d868f7d826553d0dd2907dae738
|
| 3 |
+
size 191045548
|
data/train-00008-of-00011.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a5321c14200ccdef597e86723f7d00c0db0a56f9fc94536bf8e438a670f6747c
|
| 3 |
+
size 192296752
|
data/train-00009-of-00011.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4c0843f232621e4bdcb2b4fa12e0346c7a3639cb4530c604d2891d4a3f9856e6
|
| 3 |
+
size 191201342
|
data/train-00010-of-00011.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cdb33d753307f85576729c479b7b65110b5f1b7bafcb0c99ff3e2bd453106f6b
|
| 3 |
+
size 189853759
|