我在RasaStack core上遇到问题:当我使用以下命令训练对话框数据时:
python -m rasa_core.train -d domain.yml -s data\stories.md -o models\current\dialogue -c config.yml
我有此异常TypeError:
q, r = gen_linalg_ops.qr(a, full_matrices=False)
File "C:\Users\lpschaub\AppData\Local\Continuum\anaconda3\envs\myenv\lib\site-packages\tensorflow\python\ops\gen_linalg_ops.py", line 1613, in qr
"Qr", input=input, full_matrices=full_matrices, name=name)
File "C:\Users\lpschaub\AppData\Local\Continuum\anaconda3\envs\myenv\lib\site-packages\tensorflow\python\framework\op_def_library.py", line 609, in _apply_op_helper
param_name=input_name)
File "C:\Users\lpschaub\AppData\Local\Continuum\anaconda3\envs\myenv\lib\site-packages\tensorflow\python\framework\op_def_library.py", line 60, in _SatisfiesTypeConstraint
", ".join(dtypes.as_dtype(x).name for x in allowed_list)))
TypeError: Value passed to parameter 'input' has DataType float16 not in list of allowed values: float64, float32, complex64, complex128
这显然是一个张量流错误,但应该是示例代码,它不起作用...
有任何线索吗?
谢谢
答案 0 :(得分:0)
请考虑更新到稳定的Rasa版本1.x
,例如通过执行pip install rasa
(已修复此错误)。