Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The model version is to old to be loaded by this Rasa NLU instance #1

Open
saikat-bhattacharya opened this issue Jun 10, 2019 · 0 comments

Comments

@saikat-bhattacharya
Copy link

Getting the following error after running this command:
python3 -m rasa_core.run -d models/dialogue -u models/current/nlu --endpoints endpoints.yml

Error:


/anaconda3/envs/botenv/lib/python3.6/runpy.py:125: RuntimeWarning: 'rasa_core.run' found in sys.modules after import of package 'rasa_core', but prior to execution of 'rasa_core.run'; this may result in unpredictable behaviour
  warn(RuntimeWarning(msg))
2019-06-10 13:51:09 INFO     root  - Rasa process starting
Traceback (most recent call last):
  File "/anaconda3/envs/botenv/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/anaconda3/envs/botenv/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/anaconda3/envs/botenv/lib/python3.6/site-packages/rasa_core/run.py", line 196, in <module>
    _endpoints.nlu)
  File "/anaconda3/envs/botenv/lib/python3.6/site-packages/rasa_core/interpreter.py", line 34, in create
    return RasaNLUInterpreter(model_directory=obj)
  File "/anaconda3/envs/botenv/lib/python3.6/site-packages/rasa_core/interpreter.py", line 234, in __init__
    self._load_interpreter()
  File "/anaconda3/envs/botenv/lib/python3.6/site-packages/rasa_core/interpreter.py", line 257, in _load_interpreter
    self.interpreter = Interpreter.load(self.model_directory)
  File "/anaconda3/envs/botenv/lib/python3.6/site-packages/rasa_nlu/model.py", line 301, in load
    Interpreter.ensure_model_compatibility(model_metadata)
  File "/anaconda3/envs/botenv/lib/python3.6/site-packages/rasa_nlu/model.py", line 280, in ensure_model_compatibility
    "".format(model_version, rasa_nlu.__version__))
rasa_nlu.model.UnsupportedModelError: The model version is to old to be loaded by this Rasa NLU instance. Either retrain the model, or run withan older version. Model version: 0.14.6 Instance version: 0.15.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant