1 评论 (1 评论)0 反应 (0 反应)0 负责人 (0 负责人)Python10,371 star (10,371 star)2,089 fork (2,089 fork)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.
- 议题类型
- 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.