-
Notifications
You must be signed in to change notification settings - Fork 150
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Prediction is not working #25
Comments
@BenjamWhite i am trying to fix this problem from two days. please help me if you find it too.. |
I thought first it might be something with theano and tensorflow as they store data in different order, but changing channel_first to channel_last didn't help. |
what i feel is file is not having weights of 'time_distributed_1' layer. i googled and find nothing on this. it has only [array(['bias:0', 'kernel:0'], dtype='<U8')] inside. |
well, that's a different issue, when TimeDistributed gets defined, there is a
After:
There is also a method to show the content of the h5py. Haha, that's the next error I'm getting with those values
is saying it doesn't know |
weights[0] and weights[1] should be an array of weights. we are not getting that from our trained model file. if you can solve this, everything will be automatically solved |
check this link it helped me a lot (Cell 94) |
where you able to run this? |
i am able to run but i am not getting the desired output. |
didn't really work on it anymore (had no time so far), so basically still the same error. What is the diff between expected and real output? |
If you open the hdf5 file you should see the file structure.
|
@elainelinlin did you get any prediction out of it? For your own data? |
@fzr2009 Yes. What is not working for you? |
@elainelinlin I get this KeyError every time with different string in it, Please help if you can |
I'm running the same code on test data and get strange weights back.
and
map(lambda x: x.shape, weights)
is giving me back:
[(2,)]
Also run the code with Keras 2.0.0 and the actual version. Can it be due to different versions?
Thanks in advance!
The text was updated successfully, but these errors were encountered: