f79d7166277fde0c9172b5e60865d5f45653f86c,parlai/scripts/train_model.py,,setup_args,#Any#,35
Before Change
help="Tensorboard logging of metrics")
train.add_argument("-tbtag", "--tensorboard-tag", type=str, default=None,
help="Specify all opt keys which you want to be presented in in TB name")
train.add_argument("-tbmetric", "--tensorboard-metric", type=str, default=None,
help="Specify metrics which you want to track, it will be extracrted from report dict.")
parser = setup_dict_args(parser)
return parser
def run_eval(agent, opt, datatype, max_exs=-1, write_log=False, valid_world=None):
After Change
train.add_argument("-lfc", "--load-from-checkpoint",
type="bool", default=False,
help="load model from checkpoint if available")
TensorboardLogger.add_cmdline_args(parser)
parser = setup_dict_args(parser)
return parser
def run_eval(agent, opt, datatype, max_exs=-1, write_log=False, valid_world=None):
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 2
Instances
Project Name: facebookresearch/ParlAI
Commit Name: f79d7166277fde0c9172b5e60865d5f45653f86c
Time: 2018-05-31
Author: kulikov@fb.com
File Name: parlai/scripts/train_model.py
Class Name:
Method Name: setup_args
Project Name: facebookresearch/ParlAI
Commit Name: cefbd23d250bfe193e1460bbe87335015ddd7735
Time: 2017-06-01
Author: jaseweston@gmail.com
File Name: parlai/core/params.py
Class Name: ParlaiParser
Method Name: add_model_args
Project Name: facebookresearch/ParlAI
Commit Name: 25c86b58b8b371dee3810b7705afe54687e03b5c
Time: 2020-07-29
Author: jono.conder@gmail.com
File Name: parlai/scripts/interactive.py
Class Name:
Method Name: setup_args