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

I'm facing issues with insufficient VRAM and mismatched channel requirements. #13

Open
wbq00 opened this issue Jan 8, 2025 · 1 comment

Comments

@wbq00
Copy link

wbq00 commented Jan 8, 2025

When using the latest version of the nnUNet plugin (as of January 7, 2025), I encountered two issues. First, the log indicates that the prediction process failed due to insufficient memory, causing the results array to be moved to the CPU. However, I am using an NVIDIA GeForce RTX 4060 with 8GB of VRAM, which I believe should be sufficient. Second, I received the error "RuntimeError: Given groups=1, weight of size [32, 4, 3, 3, 3], expected input[1, 1, 128, 128, 128] to have 4 channels, but got 1 channel instead." However, I have ensured that the input data is indeed 4-channel (and have also used code to forcibly convert it to confirm this). Thank you for your assistance!

@lassoan
Copy link
Collaborator

lassoan commented Jan 8, 2025

8GB GPU RAM just barely meets the minimum requirements. If you have are running application that uses the GPU (web browser, Zoom, Teams, etc.) then you may just run out of resources. Please exit all applications, try using a different model, use fast mode, try smaller input images, etc. and let us know if it made a difference.

If you run into any issue then all the subsequent issues may be just consequences of the previous ones. So, always focus on solving the very first reported issue, as all the others may just go away when you solve the first one.

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