Skip to content
This repository has been archived by the owner on Nov 22, 2022. It is now read-only.

Proper behavior for do_eval=False #1155

Closed

Conversation

cyclotomic2
Copy link

Summary:
In trainer, the option do_eval (https://fburl.com/diffusion/lopy7hig) can be set to False to skip eval stage in training. However, the eval stage is always run in the finalize step (see changes in this diff). This can cause issues when eval data is not provided, see the failed workflow for example:
f151938461

In this diff, if do_eval is set to False, we also skip the eval operation in the finalize step.

Differential Revision: D18590815

Summary:
In trainer, the option `do_eval` (https://fburl.com/diffusion/lopy7hig) can be set to `False` to skip eval stage in training. However, the eval stage is always run in the finalize step (see changes in this diff). This can cause issues when eval data is not provided, see the failed workflow for example:
f151938461

In this diff, if `do_eval` is set to `False`, we also skip the eval operation in the finalize step.

Differential Revision: D18590815

fbshipit-source-id: 7041e95e709cfa3873db6f165a76a4d0d0160d87
@facebook-github-bot facebook-github-bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label Nov 20, 2019
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D18590815

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 99e3669.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
CLA Signed Do not delete this pull request or issue due to inactivity. Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants