Closed alessandrofelder closed 2 days ago
Should we pin to NumPy < 2.0 for now?
yes, a PR is in progress - will ask for your review shortly :grin:
This is now fixed in https://github.com/keras-team/keras/pull/20049 and released as part of 3.5.0
. I tested it locally and training proceeds without errors with numpy==2.0.1
and keras==3.5.0
. We can now unpin numpy
, but perhaps pin keras>=3.5.0
?
Need to wait for torch
2.4.1 to unpin numpy
Windows.
Describe the bug
When I try to train a model with cellfinder napari's Training widget, I get a keras-related error:
Which is likely because of a reported incompatibility between
keras
andnumpy 2
.Full stack trace
```bash File ~/mambaforge/envs/cellfinder-py311/lib/python3.11/site-packages/superqt/utils/_qthreading.py:613, in create_worker.To Reproduce
Expected behaviour I can train cellfinder through napari
Log file
\
Screenshots
\
Computer used (please complete the following information):
Additional context
I can make this go away by
pip install "numpy<2"