neural_artistic_style icon indicating copy to clipboard operation
neural_artistic_style copied to clipboard

same input image in animation folder

Open mtsrvs opened this issue 8 years ago • 7 comments

I running the neural network like this: python neural_artistic_style.py --subject /Users/user/Documents/matias.jpg --style images/skrik.jpg --iterations 2000 --out salida.png Then, I get this: CUDArray: CUDA back-end not available, using NumPy. Later, after 50min more or less, the same input image appear in the animation folder. Am I doing something wrong? I am running the neural network in my macbook air 2011.

mtsrvs avatar May 29 '16 00:05 mtsrvs

You're not doing anything wrong. Your MacBook doesn't have a NVidia GPU that is capable to do the treatment. So, your CPU is working instead. The process on a CPU is very very very slow that's why you see only the first picture after 50 minutes.

FabienLavocat avatar May 29 '16 00:05 FabienLavocat

ok. so How much time does the whole process take to complete?

mtsrvs avatar May 29 '16 01:05 mtsrvs

You've set 2000 iterations, on your CPU, simply multiply 50 minutes by 2000. On a GPU it should take less than 8 minutes

FabienLavocat avatar May 29 '16 01:05 FabienLavocat

But in the terminal i see nothing and after a very long time, the input image appears in animation folder. all of that is normal? I know I using my CPU.

mtsrvs avatar May 29 '16 03:05 mtsrvs

The only lines in the terminal you will see are the iterations. "Iteration xx, Cost xx" But it will take 50 minutes (according to your first post) to show the second iteration.

FabienLavocat avatar May 29 '16 03:05 FabienLavocat

My macbook has a Intel Onboard Integrated GPU. Do you think I can use it for this neural network? is it possible?

mtsrvs avatar May 29 '16 14:05 mtsrvs

Unfortunately not. You need an NVidia card in order to have the NVdia tools (drivers, Cudnn...)

FabienLavocat avatar May 29 '16 14:05 FabienLavocat