Skip to content

Commit b0b02dd

Browse files
authored
Merge pull request #1 from sharkfisher/sharkfisher-transferlearning-initialepoch
Update transfer_learning.ipynb - fix initial_epoch for fine tuning
2 parents fa06aee + 8156353 commit b0b02dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

site/en/tutorials/images/transfer_learning.ipynb

Lines changed: 1 addition & 1 deletion
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=history.epoch[-1]+1,\n",
934934
" validation_data=validation_dataset)"
935935
]
936936
},

0 commit comments

Comments
 (0)