Skip to content

Commit

Permalink
Merge pull request #65 from AtelierArith/increase-epoch-500-to-1000
Browse files Browse the repository at this point in the history
Increase epoch 500 to 1000
  • Loading branch information
terasakisatoshi authored Mar 15, 2022
2 parents c21e7de + 248bae2 commit 1c7672e
Show file tree
Hide file tree
Showing 3 changed files with 55 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cfgs/example3d_broken.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ device_id = 0
[training]
seed = 12345
batchsize = 64
epochs = 500
epochs = 1000
iterations = 100
base_lr = 0.0015
opt = "ADAM"
Expand Down
2 changes: 1 addition & 1 deletion cfgs/example3d_broken_prior_potential.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ device_id = 0
[training]
seed = 12345
batchsize = 64
epochs = 500
epochs = 1000
iterations = 100
base_lr = 0.0015
opt = "ADAM"
Expand Down
53 changes: 53 additions & 0 deletions cfgs/example3d_broken_prior_potential_lr_low.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
# setup DeviceParams for example
# device_id = -1 # <--- train with CPU
# device_id = 0 # <--- train with GPU its Device ID is 0
# device_id = 1 # <--- train with GPU its Device ID is 1

device_id = 0


# setup TrainingParams
#
# for _ in 1:epochs
# for _ in 1:iterations
# # extract batchsize data
# z = rand(prior, lattice_shape..., batchsize)
# gs = Flux.gradient(ps) do
# do something
# end
# Flux.Optimise.update!(opt(base_lr), ps, gs)
# end
# end
[training]
seed = 12345
batchsize = 64
epochs = 1000
iterations = 100
base_lr = 0.0005
opt = "ADAM"
prior = "Potential{Float32}(; m²=-4f0, λ=8f0)"
pretrained = ""

# setup PhysicalParams
#
# lattice_shape = (L, L) if Nd = 2
# lattice_shape = (L, L, L) if Nd = 3
# action = ScalarPhi4Action(M2, lam)
[physical]
L = 8
Nd = 3
M2 = -4.0 #
lam = 8.0 # λ


# setup ModelParams
#
[model]
seed = 2021
n_layers = 16
hidden_sizes = [8, 8]
kernel_size = 3
inC = 1
outC = 2
use_final_tanh = true
use_bn = false

0 comments on commit 1c7672e

Please sign in to comment.