45f4f81aaf15c1122b1f6623e1bef297e1837dbd,rl_loop.py,,validate,#Any#Any#,131
Before Change
model_name = get_model(model_num)
holdout_set = get_model(model_num - 1)
if not holdout_set:
print("No model found for number {}, unable to validate {}".format(
model_num-1, model_name))
main.validate()
parser = argparse.ArgumentParser()
argh.add_commands(parser, [train, selfplay, gather,
bootstrap, game_counts, validate])
After Change
with timer("Getting list of holdout games"):
games = gfile.Glob(os.path.join(HOLDOUT_DIR, "**", "*.zz"))
// Run on the most recent 20ish generations
games = games[-20 * int(MAX_GAMES_PER_GENERATION * HOLDOUT_PCT):]
main.validate(games,
load_file=os.path.join(MODELS_DIR, model_name),
logdir=logdir)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances Project Name: tensorflow/minigo
Commit Name: 45f4f81aaf15c1122b1f6623e1bef297e1837dbd
Time: 2018-02-12
Author: jacksona@google.com
File Name: rl_loop.py
Class Name:
Method Name: validate
Project Name: dmlc/gluon-cv
Commit Name: b7988369f77e12525604e2613b279c13f041f484
Time: 2019-12-04
Author: wuxun.zhang@intel.com
File Name: scripts/pose/simple_pose/validate.py
Class Name:
Method Name:
Project Name: chakki-works/doccano
Commit Name: 8222ea602261df413882b28944386b4e30cc8cf1
Time: 2019-10-18
Author: clewolff@microsoft.com
File Name: app/api/serializers.py
Class Name: LabelSerializer
Method Name: validate