Skip to content

Commit bc3dd5a

Browse files
authored
Update main.py
1 parent 6d6c142 commit bc3dd5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,4 +55,4 @@
5555

5656

5757
# Save and load the entire model
58-
torch.save(net.state_dict(), 'models/lenet5_pruned_'+prune_perc+'.pkl')
58+
torch.save(net.state_dict(), 'models/lenet5_pruned_'+param['prune_perc']+'.pkl')

0 commit comments

Comments
 (0)