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

test error #5

Open
chichu1021 opened this issue May 12, 2024 · 4 comments
Open

test error #5

chichu1021 opened this issue May 12, 2024 · 4 comments

Comments

@chichu1021
Copy link

This error occurred when I was testing, only loading a picture, why

RuntimeError: CUDA out of memory. Tried to allocate 87.95 GiB (GPU 0; 44.48 GiB total capacity; 22.69 GiB already allocated; 19.28 GiB free; 23.92 GiB reserved in total by PyTorch)

@lbc12345
Copy link
Owner

It seems that your input image is too large. You may try to crop your image into patches first.

@chichu1021
Copy link
Author

just 200-300 KB

@chichu1021
Copy link
Author

i try a smaller image,just 57KB,success

@lbc12345
Copy link
Owner

"Large image" refers to the resolution of image, not the storage size of the image. If you want to try a 2K image, you may need to crop it into patches first.

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