-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Conversation
What will happen if the search space is exhausted? |
It will give up the dedup, and fallback to the original "un-dedup" process. I read the HPO dedup util. It's hard to reuse it because the format is not unified. Also, the generated config uses mutator as keys, and mutators are not JSON-serializable. (I'm working on both problems in v3.0 iteration.) |
nni/nas/strategy/evolution.py
Outdated
@@ -43,6 +46,10 @@ class RegularizedEvolution(BaseStrategy): | |||
The number of individuals that should participate in each tournament. Default: 25. | |||
mutation_prob : float | |||
Probability that mutation happens in each dim. Default: 0.05 | |||
dedup : bool | |||
Do not try the same configuration twice. When variational is true, deduplication is not supported. Default: true. |
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.
what is "variational"?
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.
Mis-copied. Removed.
Description
Add deduplication for evolutionary search.
Test Options
Checklist
How to test