Install iTorch: torch in jupyter

来源:互联网 发布:苏州淘宝美工培训 编辑:程序博客网 时间:2024/06/15 21:33

Torch is a framework used for ML with GPUs.
http://torch.ch/

Jupyter is a power web ide used for development and demo.

In this blog, I will show how to install it in jupyter by CentOS 7.

Prerequisites

Install dependency library:

yum install openssl-devel -yluarocks install lzmq

Installing iTorch

git clone https://github.com/facebook/iTorch.gitcd iTorchluarocks make 

It will install into your ipython kernel.

...[ProfileCreate] Generating default config file: u'/root/.ipython/profile_torch/ipython_config.py'[ProfileCreate] Generating default config file: u'/root/.ipython/profile_torch/ipython_kernel_config.py'...

Than You can find it when create new notebook.

这里写图片描述

原创粉丝点击