Skip to content
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

Allowing to overwrite Prithvi and new segmentation tests. #68

Merged
merged 25 commits into from
Oct 14, 2024

Conversation

Joao-L-S-Almeida
Copy link
Member

@Joao-L-S-Almeida Joao-L-S-Almeida commented Aug 1, 2024

Segmentation was not being tested during fine-tuning tests.

Signed-off-by: João Lucas de Sousa Almeida <[email protected]>
Signed-off-by: João Lucas de Sousa Almeida <[email protected]>
Signed-off-by: João Lucas de Sousa Almeida <[email protected]>
Signed-off-by: João Lucas de Sousa Almeida <[email protected]>
Signed-off-by: João Lucas de Sousa Almeida <[email protected]>
Signed-off-by: João Lucas de Sousa Almeida <[email protected]>
Joao-L-S-Almeida and others added 14 commits August 8, 2024 12:38
Signed-off-by: João Lucas de Sousa Almeida <[email protected]>
…o the kind of bands definition

Signed-off-by: João Lucas de Sousa Almeida <[email protected]>
Signed-off-by: João Lucas de Sousa Almeida <[email protected]>
Signed-off-by: João Lucas de Sousa Almeida <[email protected]>
Signed-off-by: João Lucas de Sousa Almeida <[email protected]>
…del constructors

Signed-off-by: João Lucas de Sousa Almeida <[email protected]>
Signed-off-by: João Lucas de Sousa Almeida <[email protected]>
Signed-off-by: João Lucas de Sousa Almeida <[email protected]>
Signed-off-by: João Lucas de Sousa Almeida <[email protected]>
@Joao-L-S-Almeida
Copy link
Member Author

@CarlosGomes98 @romeokienzler The conflicts were solved.

@Joao-L-S-Almeida Joao-L-S-Almeida changed the title Segmentation/tests Allowing to overwrite Prithvi and new segmentation tests. Sep 5, 2024
Copy link
Contributor

@CarlosGomes98 CarlosGomes98 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adding the segmentation tests seems good to me. But the other two changes I see some issues with. Happy to discuss though

Signed-off-by: João Lucas de Sousa Almeida <[email protected]>
Signed-off-by: João Lucas de Sousa Almeida <[email protected]>
Signed-off-by: João Lucas de Sousa Almeida <[email protected]>
CarlosGomes98
CarlosGomes98 previously approved these changes Sep 6, 2024
Copy link
Contributor

@CarlosGomes98 CarlosGomes98 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After removing that function (if it really is never used) lgtm. Lets do that ruff on the codebase after then :)

@@ -0,0 +1,15 @@
from terratorch.datasets import HLSBands

def _are_sublists_of_int(item) -> (bool, bool):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe this is never used. if so, can we remove it?

@CarlosGomes98 CarlosGomes98 dismissed their stale review September 9, 2024 10:26

function can be removed

Signed-off-by: João Lucas de Sousa Almeida <[email protected]>
Signed-off-by: João Lucas de Sousa Almeida <[email protected]>
@Joao-L-S-Almeida
Copy link
Member Author

Done.

@Joao-L-S-Almeida
Copy link
Member Author

WARNING. If this PR isn't approved (or rejected) within 7 days it will be approved as is.

@Joao-L-S-Almeida Joao-L-S-Almeida merged commit ab6628f into main Oct 14, 2024
5 checks passed
@Joao-L-S-Almeida Joao-L-S-Almeida deleted the segmentation/tests branch October 14, 2024 17:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants