Datasets:
Update README.md
Browse files
README.md
CHANGED
|
@@ -71,6 +71,8 @@ The cut outs are 512x512 pixel jpg images centred on the galaxy source.
|
|
| 71 |
I've split away 1% of the images into a test set, and 1% into a validation set.
|
| 72 |
The remaining 98% of the images comprise the training set.
|
| 73 |
|
|
|
|
|
|
|
| 74 |
There is also accompanying metadata!
|
| 75 |
To combine the metadata with the galaxy images you can do (for example):
|
| 76 |
```python
|
|
@@ -88,6 +90,17 @@ galaxies = load_dataset("Smith42/galaxies", revision="v2.0", streaming=True)
|
|
| 88 |
The metadata is also available in parquet format in the root dir of this repo.
|
| 89 |
You can link the metadata with the galaxies via their dr8_id.
|
| 90 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 91 |
## Useful links
|
| 92 |
|
| 93 |
Paper here: [https://arxiv.org/abs/2405.14930](https://arxiv.org/abs/2405.14930)
|
|
|
|
| 71 |
I've split away 1% of the images into a test set, and 1% into a validation set.
|
| 72 |
The remaining 98% of the images comprise the training set.
|
| 73 |
|
| 74 |
+
## Metadata (galaxy properties)
|
| 75 |
+
|
| 76 |
There is also accompanying metadata!
|
| 77 |
To combine the metadata with the galaxy images you can do (for example):
|
| 78 |
```python
|
|
|
|
| 90 |
The metadata is also available in parquet format in the root dir of this repo.
|
| 91 |
You can link the metadata with the galaxies via their dr8_id.
|
| 92 |
|
| 93 |
+
## Embeddings from the pre-trained family of AstroPTv2 models
|
| 94 |
+
|
| 95 |
+
Same story with pre-generated embeddings from [AstroPTv2](https://huggingface.co/smith42/astropt_v2.0).
|
| 96 |
+
|
| 97 |
+
You can combine the embeddings with galaxy imagery and metadata by doing:
|
| 98 |
+
```python
|
| 99 |
+
galaxies = load_dataset("Smith42/galaxies", revision="v2.0", streaming=True)
|
| 100 |
+
embs = load_dataset("Smith42/galaxies_embeddings", streaming=True)
|
| 101 |
+
combined = concatenate_datasets([galaxies['train'], embs['train']], axis=1)
|
| 102 |
+
```
|
| 103 |
+
|
| 104 |
## Useful links
|
| 105 |
|
| 106 |
Paper here: [https://arxiv.org/abs/2405.14930](https://arxiv.org/abs/2405.14930)
|