在功能'错误' /root/torch/install/share/lua/5.1/trepl/init.lua:389:在功能'要求'

时间:2017-05-11 09:18:49

标签: python centos torch

由于我不习惯lua,因此我很难解决这个错误。任何人都可以给我一个帮助...... enter image description here

1 个答案:

答案 0 :(得分:1)

我也收到了这个错误。原因是某些模块已从rnndpnn移至nn

我已经创建了一个带有必要更改的拉取请求,一旦合并,您应该使用dpnn更新$ luarocks install dpnn包,您应该很高兴。

拉请求在这里:https://github.com/Element-Research/dpnn/pull/90

如果您不想等待集成这些更改,请运行以下命令:

$ git clone git@github.com:richardassar/dpnn.git
$ git checkout remove_duplicate_modules
$ luarocks make rocks/dpnn-scm-1.rockspec