keras-team / keras-cv

Industry-strength Computer Vision workflows with Keras
Other
1.01k stars 330 forks source link

`No module named 'keras_core'` #1944

Closed Philmod closed 1 year ago

Philmod commented 1 year ago

After upgrading keras_cv to 0.6.x, importing the library fails with No module named 'keras_core'

Screenshot 2023-07-13 at 11 36 51

It works if I manually install keras_core but I didn't see that instruction in the doc.

jbischof commented 1 year ago

Yes, keras_core is now a dependency. Which doc are you referring to?

Philmod commented 1 year ago

This doc only says to install keras-cv and tensorflow, maybe the new keras-core is included in tensorflow (which I have not upgraded)?

jbischof commented 1 year ago

@ianstenbit should we be adding keras_core to our dependencies here? This seems reasonable if one can't import the package without it.

ianstenbit commented 1 year ago

here

Yes we should -- sorry this was included in requirements.txt but I forgot to add it here. I'll send a quick PR