Hi there,
I’m running this command and I get an issue:
python3 -m rasa_core.train interactive -o models/dialogue -d domain.yml -s data/nlu_data.md --nlu models/current/nlu --endpoints endpoints.yml
/Users/some81/Desktop/work/starter-pack-rasa-stack/rasa/lib/python3.6/site-packages/h5py/init.py:36: FutureWarning: Conversion of the second argument of issubdtype from float
to np.floating
is deprecated. In future, it will be treated as np.float64 == np.dtype(float).type
.
from ._conv import register_converters as _register_converters
usage: train.py [-h] (-s STORIES | --url URL) -o OUT -d DOMAIN [-u NLU]
[–history HISTORY] [–epochs EPOCHS]
[–validation_split VALIDATION_SPLIT]
[–batch_size BATCH_SIZE] [–online]
[–augmentation AUGMENTATION] [–debug_plots] [–dump_stories]
[–endpoints ENDPOINTS] [–nlu_threshold NLU_THRESHOLD]
[–core_threshold CORE_THRESHOLD]
[–fallback_action_name FALLBACK_ACTION_NAME] [-v] [-vv]
[–quiet]
train.py: error: unrecognized arguments: interactive
I think your version requires the --online parameter, rather than rasa_core.train interactive
HI All, I am running in the same issue:
$python -m rasa_core.train –online -o models/dialogue -d domain.yml -s stories.md --nlu /models/nlu/current/nlu --endpoints endpoints.yml
Error:
train.py: error: unrecognized arguments: –online
python -m rasa_core.train interactive -o models/dialogue -d domain.yml -s stories.md --nlu /models/nlu/current/nlu --endpoints endpoints.yml
Error:
train.py: error: unrecognized arguments: interactive
Documentation used:
Thanks
Hi @linediconsine,
I think this is just a typo issue. It should be --online (two dashes) instead of just one. It’s hard to see, but there’s a difference in length between these two in the error message above: - and –
Thanks Simon,
In the end I used:
python -m rasa_core.train -s stories.md -o models/dialogue/ -d domain.yml --online
Thanks
HI, I am using below command and getting error:
python -m rasa_core.train -s data/stories.md -o models/dialogue/ -d config/domain.yml --online
error:
C:\Anaconda\envs\Rasa-New\lib\runpy.py:125: RuntimeWarning: ‘rasa_core.train’ found in sys.modules after import of package ‘rasa_core’, but prior to execution of ‘rasa_core.train’; this may result in unpredictable behaviour warn(RuntimeWarning(msg)) usage: train.py [-h] {default,compare,interactive} … train.py: error: unrecognized arguments: --online
Please help.