torch
xmdxcsj
毕业于中科院声学所,在BAT从事语音技术研究多年。微信公众号:谈谈语音技术,关注后跟踪最新博文。
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
torch学习(一) torch使用
一、安装问题 1.Only CentOS 7 is supported for now, aborting. 修改原来安装文件 https://github.com/torch/ezinstall/blob/master/install-deps 把“ if [[ $centos_major_version == '7' ]]; then”判断去掉原创 2015-10-16 20:48:56 · 4984 阅读 · 4 评论 -
lua学习(一)
学习资源: 官方手册:http://www.lua.org/manual/5.3/ 用户社区:http://lua-users.org/ programming in lua中文版:http://www.centoscn.com/uploads/file/20130903/13781389409335.pdf 一、lua概况 可扩展性。Lua 的扩展性原创 2015-10-18 22:58:59 · 938 阅读 · 0 评论 -
torch问题及解决方案汇总(持续更新)
一、libjpeg.so库 问题描述:torch/install/lib/lua/5.1/libjpeg.so: undefined symbol: jpeg_mem_src 解决方案:https://github.com/torch/image/issues/41 wget http://www.ijg.org/files/jpegsrc.v8d.tar.gz tar -xvf jpeg原创 2015-10-20 21:04:50 · 3654 阅读 · 0 评论 -
torch学习(五) simply application
一、getting started 1.torch/install/lib/lua/5.1/libjpeg.so: undefined symbol: jpeg_mem_src 解决方案:https://github.com/torch/image/issues/41 wget http://www.ijg.org/files/jpegsrc.v8d.tar.gz tar -xvf jpe原创 2015-10-19 20:39:17 · 3711 阅读 · 0 评论 -
torch学习(四) using GPU
一、获取GPU信息 require 'cutorch'print( cutorch.getDeviceProperties(cutorch.getDevice()) ) 二、GPU和CPU之间的数据互通 1.构建GPU数据 t1 = torch.CudaTensor(100):fill(0.5) t2 = torch.CudaTensor(100):fill(1) t1:原创 2015-10-20 20:57:54 · 8475 阅读 · 0 评论 -
torch学习(二) nn类结构-Module
Module |-Container |-Sequential |-Parallel |-Concat |-DepthConcat 安装使用torch以后,接下来就可以开始构建模型和训练了,在这之前,一定要先花半个小时的时间了解一下torch里面nn部分使用到的基本类型,否则容易混乱。 一、Module Module是神经网络的基本组成部分,作为一个抽原创 2015-10-21 23:36:02 · 12766 阅读 · 3 评论 -
torch学习(三) training
有两种方法进行模型训练,一种是使用封装的训练方法- StochasticGradient类 ;另外一种是使用for构建基本的训练流程 。 一、StochasticGradient方法 1.调用形式 StochasticGradient(module, criterion) 2.参数 内部的成员变量,跟训练有关 learningRate: This is the learning原创 2015-10-21 23:37:38 · 2495 阅读 · 0 评论 -
torch学习(六) rnn package
一、安装 luarocks install moses luarocks install fs luarocks install dpnn luarocks install rnn rnn的地址:https://github.com/Element-Research/rnn lstm:https://github.com/wojzaremba/lstm.git 二、使用rnn翻译 2015-11-30 22:22:15 · 5764 阅读 · 0 评论
分享