TS-CAM icon indicating copy to clipboard operation
TS-CAM copied to clipboard

Question about visualization

Open Grand-ou opened this issue 1 year ago • 1 comments

Hello. At first, thank you for your code and paper.I really appreciate your work. I have a problem. When visualizing training log by our own dataset, we got some question.

An error occur when i tried to call forward function of model.Error is showed as below.

1657626264380 And I notice that when running the code below, it shows that our model is call visionTransformer, however the output in github show that model named TSCAM, can you tell me what make it different?

1657626288610 I'm hoping for your answer Thank you!

Grand-ou avatar Jul 12 '22 11:07 Grand-ou

Hi, thanks for your attention.

Maybe the "model" in your script is an instance of the class VisionTransformer. And class VisionTransformer only needs two arguments: one is self, another is input x. So I guess when declaring an instance of a TSCAM, you should use model = TSCAM(...).

vasgaowei avatar Jul 18 '22 10:07 vasgaowei