-
Notifications
You must be signed in to change notification settings - Fork 145
Prediction is not working #25
Copy link
Copy link
Open
Description
I'm running the same code on test data and get strange weights back.
import h5py
with h5py.File('data/%s.hdf5'%FN1, mode='r') as f:
if 'layer_names' not in f.attrs and 'model_weights' in f:
f = f['model_weights']
weights = [np.copy(v) for v in f['timedistributed_1'].itervalues()]
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!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels