Advanced AI Explainability for computer vision. Support for CNNs, Vision Transformers, Classification, Object detection, Segmentation, Image similarity and more.
I can get the output when using
model = torch.hub.load('facebookresearch/deit:main', 'deit_tiny_patch16_224', pretrained=True)
Then, I trained deit using https://github.com/facebookresearch/deit in my own classification dataset. The checkpoint is in this location : "Output/best_checkpoint.pth"
So how can I load this model and obtain the grad-cam result?
Thank you if you can give me the answer.
I can get the output when using
model = torch.hub.load('facebookresearch/deit:main', 'deit_tiny_patch16_224', pretrained=True)
Then, I trained deit using https://github.com/facebookresearch/deit in my own classification dataset. The checkpoint is in this location : "Output/best_checkpoint.pth"
So how can I load this model and obtain the grad-cam result? Thank you if you can give me the answer.