1 comment (1 comment)0 reactions (0 reactions)0 assignees (0 assignees)Python10,371 stars (10,371 stars)2,089 forks (2,089 forks)batch import
EnhancementH1 2020Help WantedMinordonotreap
説明
Depends on #2172.
- If no_save is True, then the option is not saved with the opt.
- If no_override is True, then the parser will throw a hard error if the value on disk is not what's loaded. This one might have to wait a bit longer.
- Issue 種別
- feature
- 調査方針
- This issue depends on #2172 which should be resolved first. After that, the implementation involves adding two boolean flags (no save and no override) to the add argument method in ParlaiParser. Likely file: parlai/core/params.py. The no save flag should prevent the option from being saved in opt; no override should cause a hard error if there's a mismatch with saved values. Check the discussion in #2172 for implementation patterns.