rasa: Exception during finetune request

Rasa Core version: 0.11.3 Python version: 3.6 Operating system (windows, osx, …): Ubuntu 18.04 Issue: When sending events for model finetune I get this error:

2018-09-11 08:54:19 ERROR    rasa_core.server  - Caught an exception during prediction.
Traceback (most recent call last):
  File "/home/tymoteusz/bot/venv/lib/python3.6/site-packages/rasa_core/server.py", line 387, in continue_training
    batch_size=batch_size)
  File "/home/tymoteusz/bot/venv/lib/python3.6/site-packages/rasa_core/agent.py", line 425, in continue_training
    **kwargs)
  File "/home/tymoteusz/bot/venv/lib/python3.6/site-packages/rasa_core/policies/ensemble.py", line 192, in continue_training
    self.training_trackers.extend(trackers)
AttributeError: 'NoneType' object has no attribute 'extend'

It seems like this variable is set here https://github.com/RasaHQ/rasa_core/blob/master/rasa_core/policies/ensemble.py#L64, but this line is never executed in my setup (runing server with rasa_core.run).

Content of domain file (if used & relevant):


About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Reactions: 2
  • Comments: 16 (11 by maintainers)

Most upvoted comments

I see, so the problem is that in this case continue_training is called without train, so ensemble doesn’t have original training trackers. @tmbo could you please look into it?

Same issue when call /finetune with events array, so what the solution is ?

Don’t call /finetune. 😃 That is what I did. It is not essential to make interactive learning useful. In the next Rasa release will be an option to disable finetune during interactive learning.