th 和 lua 命令运行 lua 脚本有什么区别?

使用 thlua 运行为 torch 编写的 .lua 文件是否有区别?

在我使用的服务器上,无法运行 th 命令,但可以在 python 解释器中导入 torch(我猜是因为安装了 pytorch,但没安装 torch 本身)。

我想知道是否可以像这里所说的那样,仅仅运行 lua scriptname.lua 而不是 th scriptname.luahttps://github.com/jwyang/JULE.torch

点赞