Skip to content
This repository was archived by the owner on Jan 26, 2024. It is now read-only.

Commit dcf9ea7

Browse files
committed
Remove useless line
1 parent 9dd299c commit dcf9ea7

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

train.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,8 +201,6 @@ def save_model():
201201
controls = None
202202

203203
init = torch.randn(batch_size, model.init_dim).to(device)
204-
init.requires_grad_() # start tracking the graph
205-
206204
outputs = model.generate(init, window_size, events[:-1], controls, output_type='logit')
207205
assert outputs.shape[:2] == events.shape[:2]
208206

0 commit comments

Comments
 (0)