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

Progress indicator icon still displayed in napari after getting OOM error #23

Open
marabuuu opened this issue Mar 17, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@marabuuu
Copy link

Hi all,

I was trying to make a prediction with Custom Model 2D/3D and I was getting the following out of memory error in the terminal:

Hint: If you want to see a list of allocated tensors when OOM happens, add report_tensor_allocations_upon_oom to RunOptions for current allocation info. This isn't available when running in Eager mode.
 [Op:__inference_predict_function_2519]

but in napari, the progress indicator icon was still displayed (see yellow box in screenshot):
bug

I think it would be a good idea to disable this Progress indicator icon when an error occurs so the users who are not looking into their terminal window do not think the model is still predicting and are not waiting for output.

Best,
Mara

@marabuuu marabuuu added the bug Something isn't working label Mar 17, 2023
@uschmidt83
Copy link
Member

Hi @marabuuu, thanks for the suggestion. I will probably fix this in the next release, but I don't yet know when that will be.

Sorry for the late reply!

Best,
Uwe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants