您的位置:首页 > 其它

Install iTorch: torch in jupyter

2017-10-13 10:49 549 查看
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 -y
luarocks install lzmq


Installing iTorch

git clone https://github.com/facebook/iTorch.git cd iTorch
luarocks 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.

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  deep-learning 框架