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

image unpatchify related problems #28

Open
pengjuRen99 opened this issue Mar 28, 2023 · 2 comments
Open

image unpatchify related problems #28

pengjuRen99 opened this issue Mar 28, 2023 · 2 comments

Comments

@pengjuRen99
Copy link

There is a little problem in the open source code, self.patch_embed is not defined in the unpatchify function of the model. The original dimension of the image cannot be restored. I hope it can be modified slightly for our convenience. Thank you for your answer.

@pengjuRen99
Copy link
Author

Also change p to 16 in unpatchify and patchify.

@gaopengpjlab
Copy link

Thanks for your suggestion. We will modify the code according to your suggestion.

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