会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
少年阿斌
人类被赋予了一种工作,那就是精神的成长。
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
10
11
12
13
14
15
16
17
18
···
59
下一页
2020年4月14日
动量梯度下降法(gradient descent with momentum)
摘要: 其实应该叫做指数加权平均梯度下降法。
阅读全文
posted @ 2020-04-14 11:30 wqbin
阅读(1184)
评论(0)
推荐(0)
2020年4月13日
pytorch安装与入门(二)--tensor的计算操作
摘要: 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
阅读(899)
评论(0)
推荐(0)
安装torchtext
摘要: torchtext使用教程 主要内容: 如何使用torchtext建立语料库 如何使用torchtext将词转下标,下标转词,词转词向量 如何建立相应的迭代器 torchtext组件流程: 定义Field:声明如何处理数据,主要包含以下数据预处理的配置信息,比如指定分词方法,是否转成小写,起始字符,
阅读全文
posted @ 2020-04-13 11:01 wqbin
阅读(5433)
评论(0)
推荐(0)
2020年4月12日
RuntimeError: CUDA error: invalid device ordinal
摘要: 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
阅读(12361)
评论(1)
推荐(0)
mongodb的安装与使(三)之复杂操作 嵌套array查询,aggregate $unwind $match $project
摘要: mongodb多层嵌套查询 官网案例: db.inventory.insertMany( [ { item: "journal", instock: [ { warehouse: "A", qty: 5 }, { warehouse: "C", qty: 15 } ] }, { item: "not
阅读全文
posted @ 2020-04-12 13:26 wqbin
阅读(882)
评论(0)
推荐(0)
2020年4月11日
pytorch安装与入门(二)--tensor的基本操作
摘要: 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
阅读(963)
评论(0)
推荐(0)
pytorch安装与入门(一)
摘要: 好久没有更新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
阅读(481)
评论(0)
推荐(0)
2020年4月10日
mysqlclient---MySQLdb的增删改查
摘要: 简单了解 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
阅读(426)
评论(0)
推荐(0)
2020年4月8日
迭代器的单向性与一次性
摘要: 11
阅读全文
posted @ 2020-04-08 16:51 wqbin
阅读(219)
评论(0)
推荐(0)
2020年4月5日
实时数据仓(一)
摘要:
阅读全文
posted @ 2020-04-05 20:58 wqbin
阅读(248)
评论(0)
推荐(0)
上一页
1
···
10
11
12
13
14
15
16
17
18
···
59
下一页
公告