-
Notifications
You must be signed in to change notification settings - Fork 16
Commit 26ec25d
fix simplenet for timm finetuning recipe
if during model creation, the number of classes differed from imagenets 1000 classes
simplenet would crash because the pretrained weights wouldnt match.
now when generating architectures, we check for this and if encountered with one,
only swap the classifier after the model has been loaded with original weights.1 parent 665f27b commit 26ec25d
File tree
1 file changed
+1
-1
lines changed- ImageNet/training_scripts/imagenet_training/timm/models
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
344 | 344 |
| |
345 | 345 |
| |
346 | 346 |
| |
347 | - | ||
347 | + | ||
348 | 348 |
| |
349 | 349 |
| |
350 | 350 |
| |
|
0 commit comments