问题
我不能安装特定的Luarocks。我想用CNN来确定3D手扫描的关键点。因此,我想让V2V-PoseNet运行。然而,我遇到了一个问题,研究员建议 me试图:
$luarocks install cutorch
$luarocks install cunn不幸的是,我得到的错误是我没有写作权限。在使用sudo执行时,我得到:
Error: No results matching query were found.我试过的
我正确地安装了火炬(th works),并且我完成了Luarocks的干净安装:
$th
______ __ | Torch7 / Debian
/_ __/__ ________/ / | Scientific computing for Lua.
/ / / _ \/ __/ __/ _ \ | Type ? for help
/_/ \___/_/ \__/_//_/ | https://github.com/torch
| http://torch.ch
th>^C^C
$sudo apt-get install luarocks然后试着安装岩石:
$sudo luarocks install cutorch
$sudo luarocks install cunn如果没有sudo命令,它就无法工作。上面的安装命令返回两个Error: No results matching query were found。有类似问题的人是建议手动安装岩石。如果我手动下载割炬-师父,从/rocks文件夹启动一个终端并运行
$luarocks install cutorch-1.0-0.rockspec我得到的错误是,我的用户“在/usr/local/lib/luarocks/rocks中没有写权限”。当我尝试用sudo安装时,我得到了Missing dependencies for cutorch 1.0-0: torch >= 7.0 (not installed)。我试图修改.bashrc,但没有成功,尽管我同时能够修复它。
顺便说一下,Lua本身已经安装了:
$lua
Lua 5.1.5 Copyright (C) 1994-2012 Lua.org, PUC-Rio安装
我是从Ubuntu18.04运行这个的。
我的问题
如何使用Luarocks安装cutorch和cunn?
发布于 2018-08-28 10:30:12
发布于 2018-07-09 06:55:30
我没有看到一个cunn摇滚上传到luarocks服务器:https://luarocks.org/search?q=cunn
你能让包的作者把它上传到公共服务器上吗?
https://stackoverflow.com/questions/51150967
复制相似问题