-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathconfig.py
36 lines (28 loc) · 913 Bytes
/
config.py
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
import math
import os
import experiment_buddy
import jax.example_libraries.optimizers
initial_lr = .0001
decay_steps = 500000
num_hidden = 1024
decay_factor = .5
batch_size = 128
momentum_mass = 0.99
weight_norm = 0.00
num_epochs = 10
experiment_buddy.register(locals())
################################################################
# Derivative parameters
################################################################
learning_rate = jax.example_libraries.optimizers.inverse_time_decay(initial_lr, decay_steps, decay_factor,
staircase=True)
eval_every = math.ceil(num_epochs / 1000)
writer = experiment_buddy.deploy(
url="frosty",
disabled=False,
conda_env="py39",
extra_modules=[],
sweep_definition="sweep.yaml",
wandb_run_name="example",
wandb_kwargs={'entity': "ionelia", 'project': "homecredit"}
)