We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 710cc16 commit 0925896Copy full SHA for 0925896
1 file changed
_unittests/ut_search_rank/test_LONG_search_images_keras.py
@@ -28,7 +28,8 @@ def test_search_predictions_keras(self):
28
with redirect_stderr(StringIO()):
29
try:
30
from keras.applications.mobilenet import MobileNet # pylint: disable=E0401,E0611
31
- except (SyntaxError, ModuleNotFoundError, AttributeError) as e:
+ except (SyntaxError, ModuleNotFoundError, AttributeError,
32
+ ImportError) as e:
33
warnings.warn(
34
"Issue with tensorflow or keras: {0}".format(e))
35
return
0 commit comments