Dimsmary/Ossas_ChatBot

闪退

Opened this issue · 2 comments

E:\迅雷下载\ai>OSSAS.exe c:\python37\lib\site-packages\PyInstaller\loader\pyimod03_importers.py:489: MatplotlibDeprecationWarning: The MATPLOTLIBDATA environment variable was deprecated in Matplotlib 3.1 and will be removed in 3.3. 2021-02-19 21:43:53.830720: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library 'cudart64_101.dll'; dlerror: cudart64_101.dll not found 2021-02-19 21:43:53.832902: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine. ------------------------ ---OSSAS ChatBot----- --人工智障聊天机器人--- ---版本:0.0.3_alpha--- ------------------------- 作者:Dimsmary 网址:dimsmary.tech ----------------- 本软件完全免费 代码遵循MIT协议 ----------------- ----------------- 模式1:搭建模型 模式2:训练模型 模式3:开启Coolq接口 模式4:进行对话 ----------------- 输入工作模式:1 Fri Feb 19 21:44:01 2021 读取训练数据... Building prefix dict from the default dictionary ... Loading model from cache C:\Users\HDS\AppData\Local\Temp\jieba.cache Loading model cost 0.514 seconds. Prefix dict has been built successfully. Traceback (most recent call last): File "main.py", line 108, in File "Seq2Seq.py", line 284, in pre_precess File "Seq2Seq.py", line 46, in load_data File "site-packages\pandas\util_decorators.py", line 208, in wrapper File "site-packages\pandas\io\excel_base.py", line 310, in read_excel File "site-packages\pandas\io\excel_base.py", line 819, in init File "site-packages\pandas\io\excel_xlrd.py", line 21, in init File "site-packages\pandas\io\excel_base.py", line 359, in init File "site-packages\pandas\io\excel_xlrd.py", line 36, in load_workbook File "site-packages\xlrd_init_.py", line 111, in open_workbook FileNotFoundError: [Errno 2] No such file or directory: 'E:\迅雷下载\ai\workspace\train.xlsx' [5508] Failed to execute script main

同闪退
AttributeError: 'numpy.ndarray' object has no attribute 'append'
[14116] Failed to execute script main

同闪退
AttributeError: 'numpy.ndarray' object has no attribute 'append'
[14116] Failed to execute script main

卸载原有的numpy库,按requirements.txt中的要求安装1.18.2版本的numpy