Facebook开源Torchnet加速深度学习,Caffe 、TensorFlow将可用

Facebook宣布开源用于简化深度学习的软件Torchnet

  • 用Lua编写
  • 支持代码重用,减少出bug概率
  • 简化异步、并行数据loading,提升多GPU效率
  • 可能不会一直局限于Torch,其抽象将有Caffe、TensorFlow实现
  • 方法有点类似于Theano框架的BlocksFuel
  • 已经应用于Facebook图像识别和NLP

Facebook工程师Laurens van der Maaten表示,Torchnet的核心不是让Torch更快(而是简化深度学习工作),举例而言它可以减少IO开销,这对大型神经网络尤其重要。

The goal of open-sourcing Torchnet is to empower the developer community, allowing it to rapidly build effective and reusable learning systems.

与Caffe、Chainer、TensorFlow和Theano等深度学习框架的一个很大的不同,是不注重深层网络中高效率的推理和梯度计算,Torchnet提供一个深度学习框架之上的框架(如torch/nn),使得rapid experimentation更容易。

Torchnet provides a collection of subpackages and implements five main types of abstractions:

  • Datasets — provide a size function that returns the number of samples in the data set, and a get(idx) function that returns the idx-th sample in the data set.
  • Dataset Iterators — a simple for loop that runs from one to the data set size and calls the get() function with loop value as input.
  • Engines — provides the boilerplate logic necessary for training and testing models.
  • Meter — used for performance measurements, such as the time needed to perform a training epoch or the value of the loss function averaged over all examples.

  • Logs — for logging experiments.

The most important subpackages provide implementations of boilerplate code that is relevant to machine-learning problems. These include computer vision, natural language processing, and speech processing.

相关资源:

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值