摘要:基于循环神经网络(RNN)的智能聊天机器人系统 本设计研究智能聊天机器人技术,基于循环神经网络构建了一套智能聊天机器人系统,系统将由以下几个部分构成:制作问答聊天数据集、RNN神经网络搭建、seq2seq模型训练、智能聊天。经过实验,确定该系统可对本人的聊天话语进行快速并准确的回应,且回复可以模仿朋
阅读全文
摘要:1 import jieba 2 """函数2:分词函数""" 3 def fenci(training_data): 4 """------------------------------------------------------- 5 seg_list = jieba.cut("他来到上海交通大学", cut_all=True) 6 print("【...
阅读全文
摘要:1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 using namespace std; 8 typedef struct rect 9 { 10 int id; 11 int length; 12 int width; 13 14 //对于向量元素是...
阅读全文
摘要:1 #include "opencv2/objdetect.hpp" 2 #include "opencv2/videoio.hpp" 3 #include "opencv2/highgui.hpp" 4 #include ...
阅读全文
摘要:1 """-------------------------------------------------------- 2 > 3 (1) os.listdir() 方法用于返回指定的文件夹包含的文件或文件夹的名字的列表。 4 这个列表以字母顺序。 它不包括 '.' 和'..' 即使它在文件夹中。只支持在 5 Unix, Windows 下使用。 6 (2) os.path.jo...
阅读全文
摘要:https://www.jianshu.com/p/961e890e88b2
阅读全文
摘要:二值化核心思想 设阈值,大于阈值的为0(黑)或255(白),使图像成为黑白图。 阈值可固定,也可自适应阈值。 自适应阈值一般为一点像素与这点为中心的区域像素平均值或者高斯分布加权和的比较,其中可以设置一个差值也可不设。
阅读全文
摘要:灰度化核心思想是 R=G=B,这个值也叫灰度值
阅读全文
摘要:https://blog.csdn.net/weixin_40123108/article/details/86292544
阅读全文
摘要:https://blog.csdn.net/sinat_35512245/article/details/78796328
阅读全文