Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question about visualization #15

Open
Grand-ou opened this issue Jul 12, 2022 · 1 comment
Open

Question about visualization #15

Grand-ou opened this issue Jul 12, 2022 · 1 comment

Comments

@Grand-ou
Copy link

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!

@vasgaowei
Copy link
Owner

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(...).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants