Skip to content

Does it support batch processing? #150

Answered by frgfm
ryandok asked this question in Q&A
Mar 19, 2022 · 1 comments · 5 replies
Discussion options

You must be logged in to vote

Hi @ryandok 👋

Of course, happy to help!
So I think I understand that your model is not a classification model? If that is the case, the problem is that under-the-hood, the out is expected to be of shape (N, K). So, the 3D is not a problem, but the task your model is designed for is. For instance, video or image classification models work, but because they will have the same number of output dimensions (2).

For better help, I would need the full snippet to reproduce this 🙏 And perhaps, could you explain what task your model is trained for and what you want to get with the CAM?

Cheers ✌️

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@ryandok
Comment options

@frgfm
Comment options

@ryandok
Comment options

@frgfm
Comment options

@ryandok
Comment options

Answer selected by frgfm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
module: methods Related to torchcam.methods
2 participants