git clone https://github.com/torch/distro.git ~/torch --recursive
cd ~/torch; bash install-deps;
./install.sh
source ~/.bashrc
New packages can be installed using Luarocks from the command-line:
# run luarocks WITHOUT sudo
luarocks install image
luarocks list
本文介绍如何通过Git克隆Torch项目并使用LuaRocks安装必要的软件包,包括图像处理等。提供了详细的步骤说明,帮助读者快速完成环境配置。
360

被折叠的 条评论
为什么被折叠?



