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

the memory is nearly twice that of swin transformer #23

Open
cjt222 opened this issue Oct 29, 2021 · 1 comment
Open

the memory is nearly twice that of swin transformer #23

cjt222 opened this issue Oct 29, 2021 · 1 comment

Comments

@cjt222
Copy link

cjt222 commented Oct 29, 2021

Hi,Thanks for great jobs, I try to infer a image , I tried to use the segmentation model by cswin transformer small to test some pictures, and found that the memory is nearly twice that of swin transformer small. Is this normal?

@vidit98
Copy link

vidit98 commented Jan 23, 2022

Hi, you can try to set use_chk param of CSwin to True for reducing memory footprint. I suppose you are already using checkpointing in Swin model.

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