Skip to content

Commit

Permalink
undo change
Browse files Browse the repository at this point in the history
  • Loading branch information
Lorenzo Stella committed Jan 17, 2023
1 parent 73c16fc commit c3ac212
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/gluonts/torch/model/deep_npts/_estimator.py
Original file line number Diff line number Diff line change
Expand Up @@ -350,9 +350,6 @@ def train_model(
batch_norm=self.batch_norm,
)

for parameter in net.parameters():
parameter.requires_grad = True

optimizer = torch.optim.Adam(net.parameters(), lr=self.lr)

best_loss = float("inf")
Expand Down

0 comments on commit c3ac212

Please sign in to comment.