kylin torch 安装

来源:互联网 发布:桌面设置软件 编辑:程序博客网 时间:2024/06/03 23:19

1.安装环境

    kylin 操作系统

2.1)installs the basic package dependencies that LuaJIT and Torch require

    git clone https://github.com/torch/distro.git ~/torch --recursive 2)installs LuaJIT, LuaRocks,    cd ~/torch; bash install-deps;    问题1:在kylin 操作系统中,修改代码,否则版本检测错误无法执行    134     elif [[ "$DISTRO" = "kylin" ]]; then  //修改环境变量DISTRO = kylin    问题2: 必要时修改环境变量$ubuntu_major_version 3)uses LuaRocks (the lua package manager) to install core packages liketorch, nn and paths    ./install.sh    luarocks install dpnn/nn/csvigo     问题1:luarocks install *** 无法安装,提示“can't find......”         rm -f /~/.cache/pip等相关文件  4)修改环境变量PATH生效
    source ~/.bashrc 5) 验证是否安装成功    th 


  

原创粉丝点击