PyTorch Forums
How to remove some layers in Resnet18?
mxahan
(Zahid Hasan)
April 1, 2022, 5:04am
2
You can use the
hook
to pull the Conv1 output and ignore the rest.
Better Solution in this
post
show post in topic