Skip to content

KeyError: 'input' #43

@UsernameKLNU

Description

@UsernameKLNU

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.
2022-05-27 11:52:11.730438: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library 'cudart64_101.dll'; dlerror: cudart64_101.dll not found
2022-05-27 11:52:11.730708: 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 May 27 11:52:19 2022 读取训练数据...
Building prefix dict from the default dictionary ...
Loading model from cache C:\Users\qxc\AppData\Local\Temp\jieba.cache
Loading model cost 2.736 seconds.
Prefix dict has been built successfully.
Traceback (most recent call last):
File "site-packages\pandas\core\indexes\base.py", line 2897, in get_loc
File "pandas/_libs/index.pyx", line 107, in pandas._libs.index.IndexEngine.get_loc
File "pandas/_libs/index.pyx", line 131, in pandas._libs.index.IndexEngine.get_loc
File "pandas/_libs/hashtable_class_helper.pxi", line 1607, in pandas._libs.hashtable.PyObjectHashTable.get_item
File "pandas/_libs/hashtable_class_helper.pxi", line 1614, in pandas._libs.hashtable.PyObjectHashTable.get_item
KeyError: 'input'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "main.py", line 108, in
File "Seq2Seq.py", line 284, in pre_precess
File "Seq2Seq.py", line 47, in load_data
File "site-packages\pandas\core\frame.py", line 2995, in getitem
File "site-packages\pandas\core\indexes\base.py", line 2899, in get_loc
File "pandas/_libs/index.pyx", line 107, in pandas._libs.index.IndexEngine.get_loc
File "pandas/_libs/index.pyx", line 131, in pandas._libs.index.IndexEngine.get_loc
File "pandas/_libs/hashtable_class_helper.pxi", line 1607, in pandas._libs.hashtable.PyObjectHashTable.get_item
File "pandas/_libs/hashtable_class_helper.pxi", line 1614, in pandas._libs.hashtable.PyObjectHashTable.get_item
KeyError: 'input'
[19888] Failed to execute script main

[已退出进程,代码为 4294967295 (0xffffffff)]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions