ubuntu下neural-style-master的demo

时间:2015-11-01 21:07:01   收藏:0   阅读:982

1.Installing Torch

参考官网:http://torch.ch/docs/getting-started.html

  >>>th  使用该命令启动torch

     使用os.exit()退出touch 或者CTRL + C

  当测试的时候, 想引入lena的图像就会出错。

  输入如下三个命令:

    >require "image" 
    >i = image.lena() 
    >image.display(i)

  If you want to display images with th, you should use other display utilities such as gfx.go
Or, you can use qlua.

  解决办法为使用qlua开启torch:

 

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!