如何在Windows 8.1上安装Torch? [英] How to install Torch on windows 8.1?

查看:62
本文介绍了如何在Windows 8.1上安装Torch?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Torch 是一种科学计算框架,广泛支持机器学习算法.得益于便捷的脚本语言,LuaJIT和底层的C/CUDA实现,它易于使用且高效.

Torch is a scientific computing framework with wide support for machine learning algorithms. It is easy to use and efficient, thanks to an easy and fast scripting language, LuaJIT, and an underlying C/CUDA implementation.

是否可以在MS Windows 8.1上安装割炬?

Is there a way to install torch on MS Windows 8.1?

推荐答案

我已按照 torch/torch7 存储库,但是它具有不同的结构,而且我还没有能够在Windows上构建它.

I got it installed and running on Windows (although not 8.1, but I don't expect the process to be different) following instructions in this repository; it's now deprecated, but wasn't deprecated few months ago when I built it. The new instructions point to torch/torch7 repository, but it has a different structure and I haven't been able to build it on Windows yet.

有关于如何从luarocks安装Torch7的说明,但是您可以尚无Windows官方支持,但其中一些贡献者正在完成工作(该线程中有一个拉取请求的链接).

There are instructions on how to install Torch7 from luarocks, but you may run into issues on windows as well; I haven't tried this process. It seems like there is no official support for Windows yet, but some work is being done by contributors (there is a link to a pull request in that thread).

根据我的经验,编译不赞成使用的repo可能是目前在Windows上的最佳选择.

更新(2015/7/9):我最近提交了一些更改修复了mingw的编译问题,因此您可以尝试使用最新版本的torch7,并按照票证中的构建说明进行操作.请注意,这些更改仅适用于核心库,其他库可能也需要类似的更改.

Update (7/9/2015): I've recently submitted several changes that fix compilation issues with mingw, so you may try the most recent version of torch7 and follow the build instructions in the ticket. Note that the changes only apply to the core lib and additional libraries may need similar changes.

这篇关于如何在Windows 8.1上安装Torch?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆