split code updated
Browse files- splits/full_test.jsonl +0 -0
- splits/full_train.jsonl +0 -0
- splits/tiny_test.jsonl +1 -1
- splits/tiny_train.jsonl +2 -2
- utils/create_splits.py +1 -1
splits/full_test.jsonl
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
splits/full_train.jsonl
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
splits/tiny_test.jsonl
CHANGED
@@ -1 +1 @@
|
|
1 |
-
{"image_id": "jdrz11n7q_raw", "image": "
|
|
|
1 |
+
{"image_id": "jdrz11n7q_raw", "image": "./data/jdrz11n7q_raw.fits", "ra": 4.608953170523, "dec": 30.08292391635, "pixscale": 0.05008251063628878, "footprint": [[4.596537292754619, 30.114743173326985, 4.551509758403926, 30.071884367648646, 4.574426433594073, 30.05121263351455, 4.619454495882632, 30.09406362790967], [4.57446707043176, 30.093260596142066, 4.531317302276631, 30.051542448993004, 4.553651889505143, 30.030857573994318, 4.596802061267953, 30.072568429035663]]}
|
splits/tiny_train.jsonl
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
-
{"image_id": "jdne07fnq_raw", "image": "
|
2 |
-
{"image_id": "j9fc57s3q_raw", "image": "
|
|
|
1 |
+
{"image_id": "jdne07fnq_raw", "image": "./data/jdne07fnq_raw.fits", "ra": 58.15894870986, "dec": 35.69119598576, "pixscale": 0.05011143018356258, "footprint": [[58.14032335605238, 35.66121385345633, 58.211555242689485, 35.66350683314965, 58.212584136362814, 35.69214259312979, 58.14132664729774, 35.68985021861018], [58.17565225163017, 35.66268076088015, 58.24449094130459, 35.6652962486248, 58.24598074938274, 35.6935841665628, 58.17711759640468, 35.690969525771244]]}
|
2 |
+
{"image_id": "j9fc57s3q_raw", "image": "./data/j9fc57s3q_raw.fits", "ra": 194.5182600318, "dec": 47.0326648271, "pixscale": 0.050102208663596326, "footprint": [[194.56725398623578, 47.029107445340784, 194.53407080188407, 47.08243223084805, 194.4943150205125, 47.07306667853927, 194.527532100821, 47.01975336809004], [194.5503582969605, 47.05544175524446, 194.5176842457192, 47.10682001922871, 194.47820028351606, 47.097913156369316, 194.51090691984348, 47.04654611406288]]}
|
utils/create_splits.py
CHANGED
@@ -63,7 +63,7 @@ def calculate_pixel_scale(header):
|
|
63 |
|
64 |
|
65 |
def make_split_jsonl_files(
|
66 |
-
config_type="tiny", data_dir="
|
67 |
):
|
68 |
"""
|
69 |
Create jsonl files for the SBI-16-2D dataset.
|
|
|
63 |
|
64 |
|
65 |
def make_split_jsonl_files(
|
66 |
+
config_type="tiny", data_dir="./data", outdir="./splits", seed=42
|
67 |
):
|
68 |
"""
|
69 |
Create jsonl files for the SBI-16-2D dataset.
|