jcjohnson / neural-style

Torch implementation of neural style algorithm
MIT License
18.31k stars 2.7k forks source link

Getting more than one core in use when using CPU only? #466

Open therealrobster opened 5 years ago

therealrobster commented 5 years ago

Hi all,

Artist here with basic code skill running Ubuntu 18.04.

When I run th neural-style (all options here) I end up with only 1 of my 8 cores in use. It takes a long time and I know it is designed to work faster with a GPU but I'm guessing if I can pass say 6 of my cores to the script then it will run 6 times faster than it is now?

How can I go about getting it to use more than one core?

Thanks so much.

thx1131 commented 4 years ago

Use openblas