Skip to content

Commit

Permalink
remove redundant line
Browse files Browse the repository at this point in the history
  • Loading branch information
rasbt committed Jun 20, 2024
1 parent 977f9c6 commit 6c84900
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion ch05/01_main-chapter-code/exercise-solutions.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,6 @@
"\n",
"optimizer = torch.optim.AdamW(model.parameters(), lr=0.0004, weight_decay=0.1)\n",
"optimizer.load_state_dict(checkpoint[\"optimizer_state_dict\"])\n",
"model.to(device)\n",
"model.train();"
]
},
Expand Down

0 comments on commit 6c84900

Please sign in to comment.