-
Notifications
You must be signed in to change notification settings - Fork 19
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
Figure 4 in paper may be wrong according to the code? #13
Comments
我也发现了这个问题,代码里用了if else语句,所以在第一个阶段,patch embedding和linear embedding只能存在一个,而不像Fig.4里画的那样串行。 |
Yes, I have the same question. |
I have the same question. It's even more confusing because in this code snippet:
the individual |
In the first stage, we use conv stem (Head) to replace naive non-overlap patch embedding in ViT. In the following stage, we use overlap patchembed. |
You can regard the Head is the combination of patch embedding and Linear Embedding |
Thanks for your reply. Since I can regard it as a combination of patch and linear embedding, is there a way to calculate the number of patches like how it's calculated in the |
yes, I also have the question that how can we get the patch number in your Head (of the Stage1) ? |
According to the code, the Figure 4. Left Stage 1 in paper should drop the Linear Embedding and take the Patch Embedding inside?
Looking forward to your reply~
The text was updated successfully, but these errors were encountered: