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

查看:16
本文介绍了如何在 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 上也遇到问题;这个过程我没试过.似乎尚无对 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).

根据我的经验,目前编译该已弃用的存储库可能是您在 Windows 上的最佳选择.

更新 (7/9/2015):我最近提交了一些更改 使用 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天全站免登陆