Skip to content

Commit 0bd128a

Browse files
authored
fix - livelossplot 0.5 syntax
1 parent 772360e commit 0bd128a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

convnets/Transfer learning.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@
148148
"# if on CPU, uncomment some lines... unless you are VERY patient\n",
149149
"\n",
150150
"def train_model(model, criterion, optimizer, num_epochs=10):\n",
151-
" liveloss = PlotLosses(skip_first=0)\n",
151+
" liveloss = PlotLosses()\n",
152152
" model = model.to(device)\n",
153153
" \n",
154154
" for epoch in range(num_epochs):\n",

0 commit comments

Comments
 (0)