Closed lutzroeder closed 6 years ago
maybe the version of python or h5py? I haven't meet this problem.
At 2018-06-02 15:18:15, "Lutz Roeder" notifications@github.com wrote:
Adding model.save('xxxx.h5') in QANet_fit_demo.py fails with this stack.
Any ideas why that is happening?
Traceback (most recent call last):
File "QANet_fit_demo.py", line 26, in
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
It seems to be the same issue as https://github.com/keras-team/keras/issues/6442.
Using Python 3.6.5
, tensorflow 1.8.0
, keras 2.1.6
and 2.7.1
shows TypeError: can't pickle _thread.RLock objects
instead.
I think this problem may caused by the python version too. Lambda layers have no weights in this model.
Adding
model.save('xxxx.h5')
inQANet_fit_demo.py
fails with this stack.Any ideas why that is happening?