Hi
I am configuring online training…
I am using the lastest version of rasa nlu(13.7) and core(12.7)
I actually copy the code of online training from latest full code.
And When I run python train_online.py, I got this error:
ImportError: cannot import name ‘online’
Hey @Neptune. The weatherbot tutorial is not yet updated for the Rasa Core v0.12 and that’s why it was complaining about ‘online’ parameter for interactive learning. I’ll let you know once I upgrade the repo for v0.12
@Neptune I have just updated the weatherbot repo so things should work now. I’ll see what we can do to make the switching between versions less painful in the future.
I’am trying to do the online training but with the new version of rasa_core the ConsoleInputChannel don’t work, I tried to do online.run_online_learning(agent) but it said cannot import name ‘online’. Need an example for that please
@Juste this is the error i’m getting
could you help me with this?
During train_online.py or train_interactive.py
ERROR:rasa_core.training.interactive:An exception occurred while recording messages.
Traceback (most recent call last):
File “C:\Users\MS066115\AppData\Local\Continuum\anaconda3\lib\site-packages\rasa_core\training\interactive.py”, line 1276, in record_messages
_plot_trackers(sender_ids, plot_file, endpoint)
File “C:\Users\MS066115\AppData\Local\Continuum\anaconda3\lib\site-packages\rasa_core\training\interactive.py”, line 1220, in _plot_trackers
max_history=2)
File “C:\Users\MS066115\AppData\Local\Continuum\anaconda3\lib\site-packages\rasa_core\training\visualization.py”, line 453, in visualize_neighborhood
_merge_equivalent_nodes(graph, max_history)
File “C:\Users\MS066115\AppData\Local\Continuum\anaconda3\lib\site-packages\rasa_core\training\visualization.py”, line 207, in _merge_equivalent_nodes
graph.nodes(data=True)[i])
File “C:\Users\MS066115\AppData\Local\Continuum\anaconda3\lib\site-packages\rasa_core\training\visualization.py”, line 174, in _transfer_style
clazzes = source.get(“class”, “”)
AttributeError: ‘tuple’ object has no attribute ‘get’