kazuto1011 / grad-cam-pytorch

PyTorch re-implementation of Grad-CAM (+ vanilla/guided backpropagation, deconvnet, and occlusion sensitivity maps)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

use my fine-tuned model

HIN0209 opened this issue · comments

Hello,
I have fine-tuned VGG19 on my custom image set. Please guide how to modify the code to use my model.
Thank you!
PS. I meant, how to use my pretrained VGG19 weights. Thank you again.

Please replace:

You can check the layer names of your model with

print(*list(model.named_modules()), sep='\n')

Thank you!! I will try it.