Files
katrain-qt/config.json
T
2020-05-01 19:01:26 +02:00

244 lines
7.1 KiB
JSON

{
"engine": {
"katago": "KataGo/katago-bs",
"model": "KataGo/models/b15-1.3.2.txt.gz",
"config": "KataGo/analysis_config.cfg",
"threads": 8,
"max_visits": 500,
"fast_visits": 50,
"max_time": 3.0,
"_enable_ownership": true
},
"sgf": {
"sgf_load": "~/Downloads",
"sgf_save": "./sgfout",
"save_feedback": [
true,
true,
true,
true,
true,
true
]
},
"game": {
"init_size": 19,
"init_komi": 6.5
},
"trainer": {
"num_undo_prompts": [
1,
1,
1,
0.5,
0,
0
],
"eval_thresholds": [
12,
6,
3,
1.5,
0.5,
0
],
"eval_off_show_last": 3,
"eval_show_ai": true
},
"ai": {
"Default": {
"_help_right": "No settings available for Default KataGo AI, strength is mainly affected by `max_visits` and `model` in the main settings `engine` section.",
"_help_left": ""
},
"Balance": {
"target_score": 2,
"random_loss": 1,
"max_loss": 5,
"min_visits": 20,
"_help_left": "Will try to win by `target_score`, lose at most `random_loss` when behind and `max_loss` when ahead.",
"_help_right": "Never plays moves with less than `min_visits` visits, so also check engine settings."
},
"Jigo": {
"target_score": 0.5,
"_help_left": "Will try to win by `target_score`, without further restrictions.",
"_help_right": "Also affected by engine settings such as `max_visits`."
},
"Policy": {
"opening_moves": 0.05,
"_help_left": "Strength is mainly affected by `model` in engine settings, but should be high dan regardless.",
"_help_right": "Plays the P:Weighted strategy during the first `opening_moves` * <number of intersections> moves to allow variety."
},
"P:Weighted": {
"_help_right": "pick_override` determines when top move is chosen without randomness, and `lower_bound` determines the lower bound policy value that is allowed.",
"_help_left": "Plays move with probability=policy^(1/weaken_fac),i.e. `weaken_fac` influences how much more likely weaker moves are picked.",
"pick_override": 1.0,
"lower_bound": 0.001,
"weaken_fac": 1.25
},
"P:Noise": {
"pick_override": 0.95,
"noise_strength": 0.6,
"lower_bound": 0.001,
"_help_left": "Adds `noise_strength` noise to the policy of all moved > 'lower_bound' and plays the top move.",
"_help_right": "Plays top move if policy value is above `pick_override` to avoid obvious mistakes. Noise above 0.9 is near random, below 0.7 is fairly strong."
},
"P:Pick": {
"pick_override": 0.95,
"pick_n": 5,
"pick_frac": 0.33,
"_help_left": "Picks `pick_n + pick_frac * <number of legal moves>` at random and plays the best one. Change `pick_frac` to make it see more moves.",
"_help_right": "Plays top move if policy value is above `pick_override` to avoid obvious mistakes."
},
"P:Local": {
"pick_override": 0.95,
"stddev": 1.5,
"pick_n": 15,
"pick_frac": 0.0,
"_help_left": "Samples `pick_n + pick_frac * <number of legal moves>` near the last move and plays the best one.",
"_help_right": "Lower `stddev` makes it prefer closer moves."
},
"P:Tenuki": {
"pick_override": 0.9,
"stddev": 7.5,
"pick_n": 5,
"pick_frac": 0.7,
"_help_left": "Samples `pick_n + pick_frac * <number of legal moves>` away from the last move and plays the best one.",
"_help_right": "Increase `stddev` makes it prefer moves further away."
},
"P:Influence": {
"pick_override": 0.95,
"pick_n": 5,
"pick_frac": 0.4,
"threshold": 3.5,
"line_weight": 10,
"_help_left": "Samples `pick_n + pick_frac * <number of legal moves>` and plays the best one, biased to above the `threshold` line.",
"_help_right": "Increase `line_weight` to penalize moves near the edge more."
},
"P:Territory": {
"pick_override": 0.95,
"pick_n": 5,
"pick_frac": 0.4,
"threshold": 3.5,
"line_weight": 2,
"_help_left": "Samples `pick_n + pick_frac * <number of legal moves>` and plays the best one, biased to below the `threshold` line.",
"_help_right": "Increase `line_weight` to penalize moves closer to the center more."
}
},
"board_ui": {
"engine_down_col": [
0.8,
0,
0,
1
],
"engine_busy_col": [
0.9,
0.4,
0.1,
1
],
"engine_little_busy_col": [
0.85,
0.89,
0.3,
1
],
"engine_almost_done_col": [
0.67,
0.9,
0.18,
1
],
"engine_ready_col": [
0.117,
0.588,
0,
1
],
"starpoint_size": 0.1,
"stone_size": 0.475,
"eval_dot_max_size": 0.5,
"eval_dot_min_size": 0.25,
"visit_frac_small": 0.1,
"stones": {
"B": [
0.05,
0.05,
0.05
],
"W": [
0.95,
0.95,
0.95
]
},
"outline": {
"B": [
0.3,
0.3,
0.3,
0.5
],
"W": [
0.7,
0.7,
0.7,
0.5
]
},
"ghost_alpha": 0.5,
"top_move_x_alpha": 0.3,
"child_scale": 0.95,
"eval_colors": [
[
0.447,
0.129,
0.42,
1
],
[
0.8,
0,
0,
1
],
[
0.9,
0.4,
0.1,
1
],
[
0.85,
0.89,
0.3,
1
],
[
0.67,
0.9,
0.18,
1.0
],
[
0.117,
0.588,
0,
1.0
]
],
"line_color": [
0,
0,
0
],
"policy_color": [
0.9,
0.2,
0.8
]
},
"debug": {
"level": 0
}
}