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 joined your hand-on session at PyConDE and I tried out your keras_example.ipynb. And I hit the following errors, so I wanted to post the workarounds to be able to get your notebook to work.
First, if you have a self certified server like myself, you might hit this issue during doing a handshake
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1056)
Workaround is to bypass the error
#importssltry:
_create_unverified_https_context=ssl._create_unverified_contextexceptAttributeError:
# Legacy Python that doesn't verify HTTPS certificates by defaultpasselse:
# Handle target environment that doesn't support HTTPS verificationssl._create_default_https_context=_create_unverified_https_context
You might hit the error due to a change in numpy.load() in numpy=1.16.3, allow_pickle is False by default.
ValueError: Object arrays cannot be loaded when allow_pickle=False
Hello Tobias,
I joined your hand-on session at PyConDE and I tried out your
keras_example.ipynb
. And I hit the following errors, so I wanted to post the workarounds to be able to get your notebook to work.Workaround is to bypass the error
numpy.load()
innumpy=1.16.3
,allow_pickle
isFalse
by default.Workaround for numpy 1.16.3, see tensorflow issue 28102
The text was updated successfully, but these errors were encountered: