-
Notifications
You must be signed in to change notification settings - Fork 2
Fix data splitting for S2BMS UC #119
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
95fac94
New datasplits
gabrieletijunaityte bc66de5
fix wrong variable name
gabrieletijunaityte fbe59ae
Split after getting missing data, in the setup() call
gabrieletijunaityte 929ec50
Add missing aef data filtering out
gabrieletijunaityte 82a72c7
Include setup method in the tests
gabrieletijunaityte f0719c1
Include setup method in the tests
gabrieletijunaityte 5703950
More test (local) fixes
gabrieletijunaityte 8be8922
More test (local) fixes
gabrieletijunaityte File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,47 @@ | ||
| # @package _global_ | ||
|
|
||
| # to execute this experiment run: | ||
| # python train.py experiment=example | ||
|
|
||
| defaults: | ||
| - override /model: s2bms_prediction | ||
| - override /data: s2bms_prediction | ||
| - override /metrics: s2bms_predictive | ||
|
|
||
| # all parameters below will be merged with parameters from default configurations set above | ||
| # this allows you to overwrite only specified parameters | ||
|
|
||
| model: | ||
| geo_encoder: | ||
| _target_: src.models.components.geo_encoders.geoclip.GeoClipCoordinateEncoder | ||
| geo_data_name: coords | ||
| trainable_modules: [prediction_head] | ||
| prediction_head: | ||
| _target_: src.models.components.pred_heads.linear_pred_head.LinearPredictionHead | ||
|
|
||
| data: | ||
| dataset: | ||
| modalities: | ||
| coords: | ||
| use_target_data: true | ||
| use_aux_data: false | ||
| caption_builder: | ||
| pin_memory: false | ||
| batch_size: 8 | ||
| persistent_workers: false | ||
| saved_split_file_name: "s2bms_union_val_test.pth" | ||
|
|
||
| tags: ["prediction", "geoclip_coords"] | ||
|
|
||
| seed: 12345 | ||
|
|
||
| trainer: | ||
| min_epochs: 1 | ||
| max_epochs: 100 | ||
|
|
||
| logger: | ||
| wandb: | ||
| tags: ${tags} | ||
| group: "predictive" | ||
| aim: | ||
| experiment: "predictive" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| split_indices_s2bms-unlabelled-20260529_2026-05-29-1433.pth: all train/val/test unlabelled indices (not used, source data) | ||
| split_indices_s2bms+s2bms-unlabelled-20260529_2026-05-29-1438.pth: original S2BMS split and all train/val/test unlabelled indices (not used, source data) | ||
| split_indices_s2bms_2024-08-14-1459.pth: original S2BMS split (not used, source data) | ||
|
|
||
| s2bms_union_val_test: S2BMS labelled subset for this study. All val and test split datapoints are available for modalities of: coords, alphaearth and tessera. | ||
| s2bms_unlabelled_union_val_test: s2bms_union_val_test + all train samples from the unlabelled dataset |
File renamed without changes.
Binary file not shown.
Binary file removed
BIN
-66.8 KB
data/s2bms/splits/split_indices_s2bms_2024-08-14-1459_union_aef_tsr_val_test_train.pth
Binary file not shown.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.