上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 59 下一页
摘要: 其实应该叫做指数加权平均梯度下降法。 阅读全文
posted @ 2020-04-14 11:30 wqbin 阅读(1161) 评论(0) 推荐(0) 编辑
摘要: Math operation 数学运算 Add/minus/multiply/divide Matmul Pow Sqrt/rsqrt Round 加减乘除 >>> a=torch.rand(3,4) >>> b=torch.rand(3) >>> a+b Traceback (most recen 阅读全文
posted @ 2020-04-13 19:21 wqbin 阅读(872) 评论(0) 推荐(0) 编辑
摘要: torchtext使用教程 主要内容: 如何使用torchtext建立语料库 如何使用torchtext将词转下标,下标转词,词转词向量 如何建立相应的迭代器 torchtext组件流程: 定义Field:声明如何处理数据,主要包含以下数据预处理的配置信息,比如指定分词方法,是否转成小写,起始字符, 阅读全文
posted @ 2020-04-13 11:01 wqbin 阅读(5335) 评论(0) 推荐(0) 编辑
摘要: device = torch.device('cuda:1') 报错内容: Traceback (most recent call last): File "C:/Users/WQBin/Desktop/Deep-Learning-with-PyTorch-Tutorials-master/less 阅读全文
posted @ 2020-04-12 18:18 wqbin 阅读(12185) 评论(1) 推荐(0) 编辑
摘要: mongodb多层嵌套查询 官网案例: db.inventory.insertMany( [ { item: "journal", instock: [ { warehouse: "A", qty: 5 }, { warehouse: "C", qty: 15 } ] }, { item: "not 阅读全文
posted @ 2020-04-12 13:26 wqbin 阅读(840) 评论(0) 推荐(0) 编辑
摘要: pytorch数据类型 python数据类型 Int float Int array Float array torch数据类型 tensor of size() FloatTensor of size() Int array IntTensor of size [d1, d2 ,…] Float 阅读全文
posted @ 2020-04-11 23:53 wqbin 阅读(904) 评论(0) 推荐(0) 编辑
摘要: 好久没有更新pytorch,这次更新做个笔记 1.安装CUDA https://developer.nvidia.com/cuda-toolkit-archive 设置环境变量后输入nvcc -V C:\Users\WQBin>nvcc -V nvcc: NVIDIA (R) Cuda compil 阅读全文
posted @ 2020-04-11 11:44 wqbin 阅读(467) 评论(0) 推荐(0) 编辑
摘要: 简单了解 import MySQLdb #建立数据库连接 connect = MySQLdb.connect(host=host, user=dbuser, passwd=dbpass, db=dbname, charset=charset) #cursor = connect .cursor() 阅读全文
posted @ 2020-04-10 19:51 wqbin 阅读(414) 评论(0) 推荐(0) 编辑
摘要: 11 阅读全文
posted @ 2020-04-08 16:51 wqbin 阅读(212) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-04-05 20:58 wqbin 阅读(240) 评论(0) 推荐(0) 编辑
上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 59 下一页