Describe the bug
- I'm using the code from the stadist-conic-2022 branch for training. However, after completing the training, when I run the prediction code, I encounter an error: assert "nms" in res. How can I resolve this issue?
- My model trains successfully for over 300 epochs, but then suddenly crashes with CUDA out-of-memory errors. The failure occurs at different epochs each time
To reproduce
if refine_shapes is not False:
assert "nms" in res
u = refine(u, res, **refine_shapes)
Environment (please complete the following information):
- StarDist version  0.9.1
- CSBDeep version 0.8.1
- TensorFlow version  2.18.1
- OS: Ubuntu 22.04.2 LTS
- GPU memory (if applicable): 24GB