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

Avoiding to remove info, but the ordering is not preserved. #58

Closed
wants to merge 3 commits into from

Conversation

Joao-L-S-Almeida
Copy link
Member

No description provided.

@@ -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):
Copy link
Contributor

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

@CarlosGomes98
Copy link
Contributor

I don't see any way for this clean argument to be passed to this function when the user is training, either with a yaml config file or programmatically. This could be passed in the config itself.

…onfig files will be more or less verbose

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

I transformed it into an input argument: dce5152
I believe that's right now.

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

@CarlosGomes98 What will be the destiny for this PR ? Should we close it without merging ?

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

Closing since #109 does it in a better way.

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