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

Modify no_merge_train_val to retrain. #332

Merged
merged 2 commits into from
Sep 15, 2023
Merged

Conversation

Gordon119
Copy link
Collaborator

What does this PR do?

As title, the no_merge_train_val in search_params.py can be confused with the merge_train_val in torch_trainer.py. Although they both indicate merging training and validation set, the former one is used for retraining. This PR modify the name of it.

Test CLI & API (bash tests/autotest.sh)

Test APIs used by main.py.

  • Test Pass
    • (Copy and paste the last outputted line here.)
  • Not Applicable (i.e., the PR does not include API changes.)

Check API Document

If any new APIs are added, please check if the description of the APIs is added to API document.

  • API document is updated (linear, nn)
  • Not Applicable (i.e., the PR does not include API changes.)

Test quickstart & API (bash tests/docs/test_changed_document.sh)

If any APIs in quickstarts or tutorials are modified, please run this test to check if the current examples can run correctly after the modified APIs are released.

cjlin1
cjlin1 previously approved these changes Sep 10, 2023
search_params.py Outdated Show resolved Hide resolved
Copy link
Collaborator

@Eleven1Liu Eleven1Liu left a comment

Choose a reason for hiding this comment

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

Please check when to use config.merge_train_val and when to use args.retrain.

@Gordon119 Gordon119 merged commit 0491489 into master Sep 15, 2023
1 check passed
@Gordon119 Gordon119 deleted the search_param_no_retrain branch October 12, 2023 11:29
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.

3 participants