资源算法torch-distro

torch-distro

2019-12-24 | |  147 |   0 |   0

Self-contained Torch installation

Please refer to the Torch installation guide for details on how to make a fresh install of Torch on Linux or MacOS.

If on windows with msvc, please refer to this guide for details on installation and usage.

Repo content

Dependencies

Globally installed dependencies can be installed via:

bash install-deps

Lua and Torch

The self-contained Lua and Torch installations are performed via:

./install.sh

By default Torch will install LuaJIT 2.1. If you want other options, you can use the command:

# If a different version was installed, used ./clean.sh to clean itTORCH_LUA_VERSION=LUA51 ./install.sh
TORCH_LUA_VERSION=LUA52 ./install.sh

Update

To update your already installed distro to the latest master branch of torch/distro simply run:

./update.sh

Cleaning

To remove all the temporary compilation files you can run:

./clean.sh

To remove the installation run:

# Warning: this will remove your current installationrm -rf ./install

You may also want to remove the torch-activate entry from your shell start-up script (~/.bashrc or ~/.profile).

Test

You can test that all libraries are installed properly by running:

./test.sh

Tested on Ubuntu 14.04, CentOS/RHEL 6.3 and OSX


上一篇:torch-android

下一篇:torch-cutorch

用户评价
全部评价

热门资源

  • Keras-ResNeXt

    Keras ResNeXt Implementation of ResNeXt models...

  • seetafaceJNI

    项目介绍 基于中科院seetaface2进行封装的JAVA...

  • spark-corenlp

    This package wraps Stanford CoreNLP annotators ...

  • capsnet-with-caps...

    CapsNet with capsule-wise convolution Project ...

  • inferno-boilerplate

    This is a very basic boilerplate example for pe...