Skip to content
This repository was archived by the owner on Jun 3, 2025. It is now read-only.

Commit 3e874ad

Browse files
authored
torchvision notebook error fix (#45)
1 parent dad38d4 commit 3e874ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/pytorch-torchvision/pruning.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@
9898
"# Overriding number of classes\n",
9999
"NUM_CLASSES = 10 # number of imagenette classes\n",
100100
"model.fc = Linear(in_features=model.fc.in_features, out_features=NUM_CLASSES, bias=True)\n",
101-
"print(fc)"
101+
"print(model.fc)"
102102
]
103103
},
104104
{

0 commit comments

Comments
 (0)