You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 3, 2023. It is now read-only.
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?
The text was updated successfully, but these errors were encountered:
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
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?
The text was updated successfully, but these errors were encountered: