forked from ai4co/rl4co
-
Notifications
You must be signed in to change notification settings - Fork 0
/
am.yaml
42 lines (34 loc) · 764 Bytes
/
am.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# @package _global_
defaults:
- override /model: am.yaml
- override /env: tsp.yaml
- override /callbacks: default.yaml
- override /trainer: default.yaml
- override /logger: wandb.yaml
env:
generator_params:
num_loc: 50
logger:
wandb:
project: "rl4co"
tags: ["am", "${env.name}"]
group: ${env.name}${env.generator_params.num_loc}
name: am-${env.name}${env.generator_params.num_loc}
model:
batch_size: 512
val_batch_size: 1024
test_batch_size: 1024
train_data_size: 1_280_000
val_data_size: 10_000
test_data_size: 10_000
optimizer_kwargs:
lr: 1e-4
weight_decay: 1e-6
lr_scheduler:
"MultiStepLR"
lr_scheduler_kwargs:
milestones: [80, 95]
gamma: 0.1
trainer:
max_epochs: 100
seed: 1234