Skip to content
Snippets Groups Projects
Commit 7afdaaa3 authored by Yandi's avatar Yandi
Browse files

shallow lstm after test

parent f6f4175f
Branches
No related tags found
1 merge request!1Master into main
No preview for this file type
......@@ -121,6 +121,8 @@ if __name__ == "__main__":
wandb.run.name = raw_run_name
wandb.watch(network, log_freq = log_freq)
torch.autograd.set_detect_anomaly(True)
for t in range(cfg["Training"]["Epochs"]):
print("Epoch {}".format(t))
train(args, network, train_loader, f_loss, optimizer, device, log_interval)
......
No preview for this file type
No preview for this file type
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment