Upload folder using huggingface_hub
Browse files
training_logs/09-14-36/.hydra/config.yaml
ADDED
|
@@ -0,0 +1,72 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
_target_: MCTS.config_schema.Config
|
| 2 |
+
network:
|
| 3 |
+
_target_: MCTS.config_schema.NetworkConfig
|
| 4 |
+
input_channels: 119
|
| 5 |
+
dim_piece_type: 16
|
| 6 |
+
board_size: 8
|
| 7 |
+
num_residual_layers: 16
|
| 8 |
+
initial_conv_block_out_channels:
|
| 9 |
+
- 64
|
| 10 |
+
residual_blocks_out_channels:
|
| 11 |
+
- - 64
|
| 12 |
+
- - 64
|
| 13 |
+
- - 64
|
| 14 |
+
- - 64
|
| 15 |
+
- - 64
|
| 16 |
+
- - 64
|
| 17 |
+
- - 64
|
| 18 |
+
- - 64
|
| 19 |
+
- - 64
|
| 20 |
+
- - 64
|
| 21 |
+
- - 64
|
| 22 |
+
- - 64
|
| 23 |
+
- - 64
|
| 24 |
+
- - 64
|
| 25 |
+
- - 64
|
| 26 |
+
- - 64
|
| 27 |
+
action_space_size: 4672
|
| 28 |
+
num_pieces: 32
|
| 29 |
+
value_head_hidden_size: 256
|
| 30 |
+
policy_linear_out_features:
|
| 31 |
+
- 4672
|
| 32 |
+
conv_bias: false
|
| 33 |
+
env:
|
| 34 |
+
_target_: MCTS.config_schema.EnvConfig
|
| 35 |
+
type: chess
|
| 36 |
+
observation_mode: vector
|
| 37 |
+
render_mode: rgb_array
|
| 38 |
+
save_video_folder: ./videos
|
| 39 |
+
history_steps: 8
|
| 40 |
+
mcts:
|
| 41 |
+
_target_: MCTS.config_schema.MCTSConfig
|
| 42 |
+
iterations: 10
|
| 43 |
+
c_puct: 1.41
|
| 44 |
+
temperature_start: 1.0
|
| 45 |
+
temperature_end: 0.1
|
| 46 |
+
temperature_decay_moves: 30
|
| 47 |
+
dirichlet_alpha: 0.3
|
| 48 |
+
dirichlet_epsilon: 0.25
|
| 49 |
+
batch_size: 8
|
| 50 |
+
optimizer:
|
| 51 |
+
_target_: MCTS.config_schema.OptimizerConfig
|
| 52 |
+
type: Adam
|
| 53 |
+
learning_rate: 0.0001
|
| 54 |
+
weight_decay: 0.0001
|
| 55 |
+
training:
|
| 56 |
+
_target_: MCTS.config_schema.TrainingConfig
|
| 57 |
+
replay_buffer_size: 16384
|
| 58 |
+
device: auto
|
| 59 |
+
num_training_iterations: 50
|
| 60 |
+
num_training_steps: 50
|
| 61 |
+
batch_size: 64
|
| 62 |
+
use_multiprocessing: true
|
| 63 |
+
self_play_workers: null
|
| 64 |
+
self_play_games_per_epoch: 16
|
| 65 |
+
continual_training: true
|
| 66 |
+
continual_queue_maxsize: 64
|
| 67 |
+
max_game_moves: 100
|
| 68 |
+
checkpoint_dir: ./checkpoints
|
| 69 |
+
checkpoint_dir_load: null
|
| 70 |
+
game_history_dir: ./game_history
|
| 71 |
+
initial_board_fen: rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1
|
| 72 |
+
progress_bar: false
|
training_logs/09-14-36/.hydra/hydra.yaml
ADDED
|
@@ -0,0 +1,166 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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m-%d}/${now:%H-%M-%S}
|
| 4 |
+
sweep:
|
| 5 |
+
dir: multirun/mcts_train/${now:%Y-%m-%d}/${now:%H-%M-%S}
|
| 6 |
+
subdir: ${hydra.job.num}
|
| 7 |
+
launcher:
|
| 8 |
+
_target_: hydra._internal.core_plugins.basic_launcher.BasicLauncher
|
| 9 |
+
sweeper:
|
| 10 |
+
_target_: hydra._internal.core_plugins.basic_sweeper.BasicSweeper
|
| 11 |
+
max_batch_size: null
|
| 12 |
+
params: null
|
| 13 |
+
help:
|
| 14 |
+
app_name: ${hydra.job.name}
|
| 15 |
+
header: '${hydra.help.app_name} is powered by Hydra.
|
| 16 |
+
|
| 17 |
+
'
|
| 18 |
+
footer: 'Powered by Hydra (https://hydra.cc)
|
| 19 |
+
|
| 20 |
+
Use --hydra-help to view Hydra specific help
|
| 21 |
+
|
| 22 |
+
'
|
| 23 |
+
template: '${hydra.help.header}
|
| 24 |
+
|
| 25 |
+
== Configuration groups ==
|
| 26 |
+
|
| 27 |
+
Compose your configuration from those groups (group=option)
|
| 28 |
+
|
| 29 |
+
|
| 30 |
+
$APP_CONFIG_GROUPS
|
| 31 |
+
|
| 32 |
+
|
| 33 |
+
== Config ==
|
| 34 |
+
|
| 35 |
+
Override anything in the config (foo.bar=value)
|
| 36 |
+
|
| 37 |
+
|
| 38 |
+
$CONFIG
|
| 39 |
+
|
| 40 |
+
|
| 41 |
+
${hydra.help.footer}
|
| 42 |
+
|
| 43 |
+
'
|
| 44 |
+
hydra_help:
|
| 45 |
+
template: 'Hydra (${hydra.runtime.version})
|
| 46 |
+
|
| 47 |
+
See https://hydra.cc for more info.
|
| 48 |
+
|
| 49 |
+
|
| 50 |
+
== Flags ==
|
| 51 |
+
|
| 52 |
+
$FLAGS_HELP
|
| 53 |
+
|
| 54 |
+
|
| 55 |
+
== Configuration groups ==
|
| 56 |
+
|
| 57 |
+
Compose your configuration from those groups (For example, append hydra/job_logging=disabled
|
| 58 |
+
to command line)
|
| 59 |
+
|
| 60 |
+
|
| 61 |
+
$HYDRA_CONFIG_GROUPS
|
| 62 |
+
|
| 63 |
+
|
| 64 |
+
Use ''--cfg hydra'' to Show the Hydra config.
|
| 65 |
+
|
| 66 |
+
'
|
| 67 |
+
hydra_help: ???
|
| 68 |
+
hydra_logging:
|
| 69 |
+
version: 1
|
| 70 |
+
formatters:
|
| 71 |
+
simple:
|
| 72 |
+
format: '[%(asctime)s][HYDRA] %(message)s'
|
| 73 |
+
handlers:
|
| 74 |
+
console:
|
| 75 |
+
class: logging.StreamHandler
|
| 76 |
+
formatter: simple
|
| 77 |
+
stream: ext://sys.stdout
|
| 78 |
+
root:
|
| 79 |
+
level: INFO
|
| 80 |
+
handlers:
|
| 81 |
+
- console
|
| 82 |
+
loggers:
|
| 83 |
+
logging_example:
|
| 84 |
+
level: DEBUG
|
| 85 |
+
disable_existing_loggers: false
|
| 86 |
+
job_logging:
|
| 87 |
+
version: 1
|
| 88 |
+
formatters:
|
| 89 |
+
simple:
|
| 90 |
+
format: '[%(asctime)s][%(name)s][%(levelname)s] - %(message)s'
|
| 91 |
+
handlers:
|
| 92 |
+
console:
|
| 93 |
+
class: logging.StreamHandler
|
| 94 |
+
formatter: simple
|
| 95 |
+
stream: ext://sys.stdout
|
| 96 |
+
file:
|
| 97 |
+
class: logging.FileHandler
|
| 98 |
+
formatter: simple
|
| 99 |
+
filename: ${hydra.runtime.output_dir}/${hydra.job.name}.log
|
| 100 |
+
root:
|
| 101 |
+
level: INFO
|
| 102 |
+
handlers:
|
| 103 |
+
- console
|
| 104 |
+
- file
|
| 105 |
+
disable_existing_loggers: false
|
| 106 |
+
env: {}
|
| 107 |
+
mode: RUN
|
| 108 |
+
searchpath: []
|
| 109 |
+
callbacks: {}
|
| 110 |
+
output_subdir: .hydra
|
| 111 |
+
overrides:
|
| 112 |
+
hydra:
|
| 113 |
+
- hydra.mode=RUN
|
| 114 |
+
task:
|
| 115 |
+
- mcts.iterations=10
|
| 116 |
+
- optimizer.learning_rate=1e-4
|
| 117 |
+
- training.num_training_iterations=50
|
| 118 |
+
- training.num_training_steps=50
|
| 119 |
+
- training.self_play_games_per_epoch=16
|
| 120 |
+
- network.initial_conv_block_out_channels=[64]
|
| 121 |
+
- network.num_residual_layers=16
|
| 122 |
+
- network.residual_blocks_out_channels=[[64],[64],[64],[64],[64],[64],[64],[64],[64],[64],[64],[64],[64],[64],[64],[64]]
|
| 123 |
+
- network.conv_bias=False
|
| 124 |
+
- training.replay_buffer_size=16384
|
| 125 |
+
- training.max_game_moves=100
|
| 126 |
+
- training.progress_bar=False
|
| 127 |
+
job:
|
| 128 |
+
name: train
|
| 129 |
+
chdir: null
|
| 130 |
+
override_dirname: mcts.iterations=10,network.conv_bias=False,network.initial_conv_block_out_channels=[64],network.num_residual_layers=16,network.residual_blocks_out_channels=[[64],[64],[64],[64],[64],[64],[64],[64],[64],[64],[64],[64],[64],[64],[64],[64]],optimizer.learning_rate=1e-4,training.max_game_moves=100,training.num_training_iterations=50,training.num_training_steps=50,training.progress_bar=False,training.replay_buffer_size=16384,training.self_play_games_per_epoch=16
|
| 131 |
+
id: ???
|
| 132 |
+
num: ???
|
| 133 |
+
config_name: train_mcts
|
| 134 |
+
env_set: {}
|
| 135 |
+
env_copy: []
|
| 136 |
+
config:
|
| 137 |
+
override_dirname:
|
| 138 |
+
kv_sep: '='
|
| 139 |
+
item_sep: ','
|
| 140 |
+
exclude_keys: []
|
| 141 |
+
runtime:
|
| 142 |
+
version: 1.3.2
|
| 143 |
+
version_base: '1.3'
|
| 144 |
+
cwd: /kaggle/working
|
| 145 |
+
config_sources:
|
| 146 |
+
- path: hydra.conf
|
| 147 |
+
schema: pkg
|
| 148 |
+
provider: hydra
|
| 149 |
+
- path: /kaggle/working/Chess_AI/config
|
| 150 |
+
schema: file
|
| 151 |
+
provider: main
|
| 152 |
+
- path: ''
|
| 153 |
+
schema: structured
|
| 154 |
+
provider: schema
|
| 155 |
+
output_dir: /kaggle/working/outputs/mcts_train/2025-11-30/09-14-36
|
| 156 |
+
choices:
|
| 157 |
+
hydra/env: default
|
| 158 |
+
hydra/callbacks: null
|
| 159 |
+
hydra/job_logging: default
|
| 160 |
+
hydra/hydra_logging: default
|
| 161 |
+
hydra/hydra_help: default
|
| 162 |
+
hydra/help: default
|
| 163 |
+
hydra/sweeper: basic
|
| 164 |
+
hydra/launcher: basic
|
| 165 |
+
hydra/output: default
|
| 166 |
+
verbose: false
|
training_logs/09-14-36/.hydra/overrides.yaml
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
- mcts.iterations=10
|
| 2 |
+
- optimizer.learning_rate=1e-4
|
| 3 |
+
- training.num_training_iterations=50
|
| 4 |
+
- training.num_training_steps=50
|
| 5 |
+
- training.self_play_games_per_epoch=16
|
| 6 |
+
- network.initial_conv_block_out_channels=[64]
|
| 7 |
+
- network.num_residual_layers=16
|
| 8 |
+
- network.residual_blocks_out_channels=[[64],[64],[64],[64],[64],[64],[64],[64],[64],[64],[64],[64],[64],[64],[64],[64]]
|
| 9 |
+
- network.conv_bias=False
|
| 10 |
+
- training.replay_buffer_size=16384
|
| 11 |
+
- training.max_game_moves=100
|
| 12 |
+
- training.progress_bar=False
|
training_logs/09-14-36/train.log
ADDED
|
File without changes
|