1. 程式人生 > >配置基於Torch的深度學習系統環境

配置基於Torch的深度學習系統環境

1、安裝torch,最終結果是能使用th命令。

官網:http://torch.ch/docs/getting-started.html

2、linux安裝hdf5,為系統安裝hdf5

參考連結:https://jingyan.baidu.com/article/cbcede077e1ebe02f40b4d1e.html

官方下載連結:https://support.hdfgroup.org/HDF5/release/obtainsrc518.html

3、安裝lua

http://www.runoob.com/lua/lua-environment.html

4、安裝torch-hdf5。

https://blog.csdn.net/lsh894609937/article/details/70477311

參考內容:

sudo apt-get install libhdf5-serial-dev hdf5-tools 
git clone https://github.com/deepmind/torch-hdf5 
cd torch-hdf5 
luarocks make hdf5-0-0.rockspec LIBHDF5_LIBDIR=”/usr/lib/x86_64-linux-gnu/”
完!