码迷,mamicode.com
首页 >  
搜索关键字:pytorch    ( 1103个结果
c++调用pytorch模型踩坑记录
博主曾经在试过用C++调用tensorflow模型失败后弃坑,选择了C++调用Pytorch模型,虽然也是一路踩坑,但是最终结果还是成功了,固在此记录一下。 step1: 下载pytorch:可以根据官网自行选择符合自己电脑和环境的pytorch版本 下载libtorch(一个让pytorch模型能 ...
分类:编程语言   时间:2021-02-06 12:02:56    阅读次数:0
knn-toolkit-1.3.0 python3.7安装
http://t.rock-chips.com/forum.php?mod=viewthread&tid=1414 https://blog.csdn.net/hanpengyu/article/details/113272923 rknn1.6的版本:李泽源/media/cbpm2016/E/li ...
分类:编程语言   时间:2021-02-04 12:25:04    阅读次数:0
dim的含义(pytorch)
总结: (使用torch.max(x, dim)为例子) 1.if 不传:对整个传入的数据进行操作 2.if dim >=0 and dim <= x.dim()-1: 0是沿最粗数据粒度的方向进行操作,x.dim()-1是按最细粒度的方向。 3.if dim <0: 效果同dim + x.dim( ...
分类:其他好文   时间:2021-02-04 11:42:19    阅读次数:0
pytorch 常用命令 (2)
容器 1.torch.nn.Module() add_module(name,module): 将一个child module加入到当前的module,用model.name来获取 children():model.children()来查看所有的子模块 modules():返回所有的模块,与chi ...
分类:其他好文   时间:2021-02-02 11:21:56    阅读次数:0
Pytorch各个模块介绍
介绍下 的主要模块和辅助模块。 Pytorch的主要模块 PyTorch主要包括以下16个模块: 1.torch模块 torch模块本身包含了PyTorch经常使用的一些激活函数,比如Sigmoid(torch.sigmoid)、ReLU(torch.relu)和Tanh(torch.tanh),以 ...
分类:其他好文   时间:2021-02-02 11:01:33    阅读次数:0
pytorch重要函数介绍
一、torch.nn.Embedding 模块可以看做一个字典,字典中每个索引对应一个词和词的embedding形式。利用这个模块,可以给词做embedding的初始化操作 torch.nn.Embedding(num_embeddings, embedding_dim, padding_idx=N ...
分类:其他好文   时间:2021-02-01 12:58:42    阅读次数:0
02.image recognition,logistic regression
Working with Images & Logistic Regression in PyTorch Part 3 of "Deep Learning with Pytorch: Zero to GANs" This tutorial series is a hands-on beginner- ...
分类:其他好文   时间:2021-01-30 12:20:31    阅读次数:0
01. linear regression正文
Gradient Descent and Linear Regression with PyTorch Part 2 of "Deep Learning with Pytorch: Zero to GANs" This tutorial series is a hands-on beginner-f ...
分类:其他好文   时间:2021-01-30 12:07:44    阅读次数:0
01.note
01.note 一.不用pytorch的module模型手写简单的线性问题 1)输入train_data和test_data #1.输入数据集 inputs = np.array([[73, 67, 43], [91, 88, 64], [87, 134, 58], [102, 43, 37], [ ...
分类:其他好文   时间:2021-01-30 12:05:31    阅读次数:0
如何在M1芯片的MacBook上安装pytorch
文章修改于2021-01-19 参考链接 https://github.com/pytorch/pytorch/issues/48145#issuecomment-747631341 这个方法和下面那条评论的方法算是现阶段较好的方法了。 自己按照其方法开始编译,很遗憾没有成功(可能是因为自己的cla ...
分类:系统相关   时间:2021-01-20 11:41:24    阅读次数:0
1103条   上一页 1 ... 4 5 6 7 8 ... 111 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!