Closed BI4O closed 5 years ago
https://github.com/RasaHQ/rasa/issues/4116 你回報問題所提供的資料太少了.一般人不會如何重現. 但我知道這問題,官方也知道 但等了很久就是不修
这是什么问题?编码格式问题?目前还没遇到过
问题已经得到了解决,解决办法就是keras==2.2.4, numpy==1.16.5放到requirements.txt中重新装一遍
原來如此! 感謝! 我以為要去看編碼問題..原來改版本就好了..
Traceback (most recent call last): File "c:\anaconda3\envs\my_rasa\lib\runpy.py", line 193, in _run_module_as_main "main", mod_spec) File "c:\anaconda3\envs\my_rasa\lib\runpy.py", line 85, in _run_code exec(code, run_globals) File "C:\Anaconda3\envs\my_rasa\Scripts\rasa.exe__main__.py", line 9, in
File "c:\anaconda3\envs\my_rasa\lib\site-packages\rasa__main__.py", line 70, in main
cmdline_arguments.func(cmdline_arguments)
File "c:\anaconda3\envs\my_rasa\lib\site-packages\rasa\cli\train.py", line 84, in train
kwargs=extract_additional_arguments(args),
File "c:\anaconda3\envs\my_rasa\lib\site-packages\rasa\train.py", line 40, in train
kwargs=kwargs,
File "c:\anaconda3\envs\my_rasa\lib\asyncio\base_events.py", line 579, in run_until_complete
return future.result()
File "c:\anaconda3\envs\my_rasa\lib\site-packages\rasa\train.py", line 72, in train_async
domain = Domain.load(domain, skill_imports)
File "c:\anaconda3\envs\my_rasa\lib\site-packages\rasa\core\domain.py", line 78, in load
other = cls.from_path(path, skill_imports)
File "c:\anaconda3\envs\my_rasa\lib\site-packages\rasa\core\domain.py", line 92, in from_path
domain = cls.from_file(path)
File "c:\anaconda3\envs\my_rasa\lib\site-packages\rasa\core\domain.py", line 105, in from_file
return cls.from_yaml(rasa.utils.io.read_file(path))
File "c:\anaconda3\envs\my_rasa\lib\site-packages\rasa\utils\io.py", line 125, in read_file
return f.read()
File "c:\anaconda3\envs\my_rasa\lib\codecs.py", line 322, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc4 in position 373: invalid continuation byte