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

Backwards compatibility checker: Parameter 'model.1._unfused.0.l_cell.i2h_bias' is missing in file 'lstm_gluon_save_parameters_api-params' #12046

Closed
marcoabreu opened this issue Aug 6, 2018 · 6 comments

Comments

@marcoabreu
Copy link
Contributor

http://jenkins.mxnet-ci.amazon-ml.com/job/restricted-backwards-compatibility-checker/8/console

INFO:root:Assertion passed for model : lenet_gluon_hybrid_export_api
INFO:root:Performing inference for model/API lstm_gluon_save_parameters_api and model
INFO:root:Fetching files for MXNet version : 1.0.0
ERROR:root:No trained models found under path : 1.0.0/lstm_gluon_save_parameters_api
WARNING:root:No training files found for lstm_gluon_save_parameters_api for MXNet version : 1.0.0
INFO:root:Fetching files for MXNet version : 1.1.0
ERROR:root:No trained models found under path : 1.1.0/lstm_gluon_save_parameters_api
WARNING:root:No training files found for lstm_gluon_save_parameters_api for MXNet version : 1.1.0
INFO:root:Fetching files for MXNet version : 1.2.0
ERROR:root:No trained models found under path : 1.2.0/lstm_gluon_save_parameters_api
WARNING:root:No training files found for lstm_gluon_save_parameters_api for MXNet version : 1.2.0
INFO:root:Fetching files for MXNet version : 1.2.1
Traceback (most recent call last):
  File "model_backwards_compat_inference.py", line 137, in <module>
    test_lstm_gluon_load_parameters_api()
  File "model_backwards_compat_inference.py", line 124, in test_lstm_gluon_load_parameters_api
    loaded_model.load_parameters(model_name + '-params')
  File "/work/mxnet/python/mxnet/gluon/block.py", line 394, in load_parameters
    name, filename, _brief_print_list(loaded.keys()))
AssertionError: Parameter 'model.1._unfused.0.l_cell.i2h_bias' is missing in file 'lstm_gluon_save_parameters_api-params', which contains parameters: 'model.2.weight', 'model.0.weight', 'model.4.bias', ..., 'model.4.weight', 'model.1._unfused.0.i2h_weight', 'model.2.bias', 'model.1._unfused.0.i2h_bias'. Set allow_missing=True to ignore missing parameters.
@marcoabreu
Copy link
Contributor Author

@piyushghai

@piyushghai
Copy link
Contributor

@marcoabreu Seems similar to #10601 and #11091.

Also, between the last successful build and this one, there is a PR merged which modifies the RNN blocks -- #11482 . Could there be an issue with that ?

@haojin2
Copy link
Contributor

haojin2 commented Aug 6, 2018

@szha

@haojin2
Copy link
Contributor

haojin2 commented Aug 8, 2018

@szha This should be closed as your fix is merged.

@lupesko
Copy link
Contributor

lupesko commented Aug 9, 2018

@marcoabreu FYI fix is merged, you can close the issue unless you still see the failure on MBCC CI.

@marcoabreu
Copy link
Contributor Author

Great, it works. Thanks a lot everybody for the great work and such a quick fix

@szha szha closed this as completed Aug 9, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants