Higher lr; still wont work (gives false in 100% of tests)
This commit is contained in:
parent
054b4494d2
commit
0c197e3e56
@ -36,7 +36,7 @@ def train(model, seq_len=16*64):
|
|||||||
model.train()
|
model.train()
|
||||||
|
|
||||||
criterion = nn.BCELoss()
|
criterion = nn.BCELoss()
|
||||||
optimizer = optim.Adam(model.parameters(), lr=0.01)
|
optimizer = optim.Adam(model.parameters(), lr=0.1)
|
||||||
|
|
||||||
for epoch in range(1024):
|
for epoch in range(1024):
|
||||||
state_h, state_c = model.init_state(seq_len)
|
state_h, state_c = model.init_state(seq_len)
|
||||||
|
Loading…
Reference in New Issue
Block a user