Hi,
I am using rasa-nlu for my project. I am running rasa-nlu using docker. I am using the below command to train the rasa-nlu.
docker run
-v $(pwd):/app/project
-v $(pwd)/models:/app/models
rasa/rasa_nlu:latest
run
python -m rasa_nlu.train -c config.yml --data project/data/MyModel -o models --fixed_model_name MyProject --project current --verbose
Whenever I am trying to train the rasa-nlu model I getting the following issue:
- /app/rasa_nlu/init.py:12: UserWarning: The ‘rasa_nlu’ package hase been renamed. You should change your imports to use ‘rasa.nlu’ instead.
- RuntimeError: Calling
rasa.nlu.train
directly is no longer supported. Please userasa train nlu
instead.
I was not facing the issue earlier while using the same command. I think issue is because of the latest update on 23 April 2019 [Ref. Link: https://rasa.com/docs/nlu/changelog/].
Please help me to resolve this.