Skip to content

Commit 656b170

Browse files
committed
changed resnet notebook to be about how to use own dataset + one cycle LR instead of self-supervised training.
1 parent 7f8ad28 commit 656b170

File tree

3 files changed

+787
-1227
lines changed

3 files changed

+787
-1227
lines changed

4 - VGG.ipynb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -595,7 +595,9 @@
595595
},
596596
"outputs": [],
597597
"source": [
598-
"final_fc = nn.Linear(4096, 10)"
598+
"IN_FEATURES = pretrained_model.classifier[-1].in_features \n",
599+
"\n",
600+
"final_fc = nn.Linear(IN_FEATURES, OUTPUT_DIM)"
599601
]
600602
},
601603
{

0 commit comments

Comments
 (0)