Skip to content

Commit 7f900f7

Browse files
Merge pull request #2292 from sharkfisher:master
PiperOrigin-RevId: 624871330
2 parents f278011 + 62da04c commit 7f900f7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

site/en/tutorials/images/transfer_learning.ipynb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -930,7 +930,7 @@
930930
"\n",
931931
"history_fine = model.fit(train_dataset,\n",
932932
" epochs=total_epochs,\n",
933-
" initial_epoch=history.epoch[-1],\n",
933+
" initial_epoch=len(history.epoch),\n",
934934
" validation_data=validation_dataset)"
935935
]
936936
},
@@ -1087,7 +1087,6 @@
10871087
"accelerator": "GPU",
10881088
"colab": {
10891089
"name": "transfer_learning.ipynb",
1090-
"provenance": [],
10911090
"toc_visible": true
10921091
},
10931092
"kernelspec": {

0 commit comments

Comments
 (0)