Skip to content
This repository has been archived by the owner on Jan 3, 2023. It is now read-only.

AssertionError while evaluating model Zoo pre-trained librispeech model #63

Open
shaofushih opened this issue Nov 13, 2017 · 1 comment
Assignees

Comments

@shaofushih
Copy link

shaofushih commented Nov 13, 2017

Environment:
python 2.7, CUDA 8.0

Command Executed:
python evaluate.py --manifest val:dev-clean.csv --model_file librispeech_16_epochs.prm
2017-11-13 13:38:52,729 - neon.backends - WARNING - deterministic_update and deterministic args are deprecated in favor of specifying random seed
Traceback (most recent call last):
File "evaluate.py", line 69, in
model = Model(args.model_file)
File "/home/root/neon/neon/models/model.py", line 72, in init
self.load_params(layers, load_states=(not weights_only))
File "/home/root/neon/neon/models/model.py", line 418, in load_params
self.deserialize(load_obj(param_path), load_states=load_states)
File "/home/root/neon/neon/models/model.py", line 479, in deserialize
self.layers.load_weights(model_dict['model'], load_states)
File "/home/root/neon/neon/layers/container.py", line 200, in load_weights
assert len(pdict['config']['layers']) == len(self.layers)
AssertionError

However when I am testing my own trained model (randomly trained). The script seems to be working just fine. Not sure why this is occurring, could this be due to cross compatibility again?

@shaofushih shaofushih changed the title AssertionError while evaluating model Zoon pre-trained librispeech model AssertionError while evaluating model Zoo pre-trained librispeech model Nov 14, 2017
@wei-v-wang
Copy link

Hello this is a known issue and has yet to upload the new format of librispeech_16_epochs.prm.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants