Neural-style: " th neural_style.lua " command gives error, No LuaRocks module found for cutorch

Created on 7 Sep 2016  路  3Comments  路  Source: jcjohnson/neural-style

I installed torch and loadcaffe, and ran the following in the neural-style-master:

th neural_style.lua -style_image examples/inputs/picasso_selfport1907.jpg -content_image examples/inputs/brad_pitt.jpg

it gives error:

screen shot 2016-09-07 at 16 38 53

and i have the neural_style.lua in the folder:

screen shot 2016-09-07 at 16 34 01

Please help, thanks so much! 馃憤 馃憤 馃挴

Most helpful comment

The error is really obvious in this case. You need to install cutorch. Just run the following command:

luarocks install cutorch

All 3 comments

The error is really obvious in this case. You need to install cutorch. Just run the following command:

luarocks install cutorch

When I do the luarocks install cutorch code I get this error
screenshot from 2016-09-08 08 38 11

it seems you have a old version of cuda, upgrade it to 6.5+

Was this page helpful?
0 / 5 - 0 ratings

Related issues

kurtby picture kurtby  路  10Comments

lmsanch picture lmsanch  路  5Comments

saeid1 picture saeid1  路  5Comments

JeffCrusey picture JeffCrusey  路  10Comments

Faiz7412 picture Faiz7412  路  11Comments