2018-12-13 14:09:08 INFO root - Starting run 1/3
Traceback (most recent call last):
File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/home/aziz/Documents/compare/rasa_core/train.py", line 361, in <module>
additional_args)
File "/home/aziz/Documents/compare/rasa_core/train.py", line 277, in do_compare_training
additional_arguments)
File "/home/aziz/Documents/compare/rasa_core/train.py", line 229, in train_comparison_models
raise ValueError("You can only specify one policy per " ValueError: You can only specify one policy per model for comparison
ValueError: You can only specify one policy per model for comparison
My initial guess here is that there is more than one policy defined in your config files. Could you post the contents of policy_config1.yml and policy_config2.yml for me please?
@MetcalfeTom does this mean I need to strip all Form-related stories to be able to compare results? Otherwise I receive this error:
2019-02-17 13:12:35 INFO root - Starting to train EmbeddingPolicy round 1/7 with 0% exclusion
Traceback (most recent call last):
File "/usr/local/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/usr/local/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/usr/local/lib/python3.6/site-packages/rasa_core/train.py", line 361, in <module>
additional_args)
File "/usr/local/lib/python3.6/site-packages/rasa_core/train.py", line 276, in do_compare_training
additional_arguments)
File "/usr/local/lib/python3.6/site-packages/rasa_core/train.py", line 246, in train_comparison_models
dump_stories=dump_stories)
File "/usr/local/lib/python3.6/site-packages/rasa_core/train.py", line 178, in train_dialogue_model
policies=policies)
File "/usr/local/lib/python3.6/site-packages/rasa_core/agent.py", line 199, in __init__
"You have defined a form action, but haven't added the "
rasa_core.domain.InvalidDomain: You have defined a form action, but haven't added the FormPolicy to your policy ensemble.