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

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

@shaofushih

Description

@shaofushih

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?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions