Skip to content

Commit

Permalink
check if import keras works
Browse files Browse the repository at this point in the history
  • Loading branch information
divyashreepathihalli committed Nov 7, 2023
1 parent 6203623 commit 1b78749
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion keras_cv/backend/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
}

if detect_if_tensorflow_uses_keras_3():
from tensorflow import keras
import keras
elif multi_backend():
import keras
if not hasattr(keras, "__version__") or parse(keras.__version__) < parse(
Expand Down

0 comments on commit 1b78749

Please sign in to comment.