You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I reinstalled keras-nlp from a fresh virtual env and this time, I got a different error:
A module that was compiled using NumPy 1.x cannot be run in
NumPy 2.1.3 as it may crash. To support both 1.x and 2.x
versions of NumPy, modules must be compiled with NumPy 2.0.
Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.
This suggests that a dependency is missing about numpy v1.x because keras-nlp could install properly, and the error popped during the import.
I installed keras-nlp:
>pip install --upgrade keras-nlp
(BTW, it downgraded my version of tensorflow which was not expected)
Then, in a python script:
import keras_hub
triggers:
The text was updated successfully, but these errors were encountered: