-
Notifications
You must be signed in to change notification settings - Fork 41
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
Avoiding to remove info, but the ordering is not preserved. #58
Conversation
Signed-off-by: João Lucas de Sousa Almeida <[email protected]>
terratorch/cli_tools.py
Outdated
@@ -130,30 +130,31 @@ def write_on_epoch_end(self, trainer, pl_module, predictions, batch_indices): # | |||
save_prediction(prediction, file_name, output_dir, dtype=trainer.out_dtype) | |||
|
|||
|
|||
def clean_config_for_deployment_and_dump(config: dict[str, Any]): | |||
def clean_config_for_deployment_and_dump(config: dict[str, Any], clean:bool=False): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
weird spacing in the keyword arguments
I don't see any way for this |
…onfig files will be more or less verbose Signed-off-by: João Lucas de Sousa Almeida <[email protected]>
I transformed it into an input argument: dce5152 |
Signed-off-by: João Lucas de Sousa Almeida <[email protected]>
@CarlosGomes98 What will be the destiny for this PR ? Should we close it without merging ? |
Closing since #109 does it in a better way. |
No description provided.