Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

same input image in animation folder #38

Open
mtsrvs opened this issue May 29, 2016 · 7 comments
Open

same input image in animation folder #38

mtsrvs opened this issue May 29, 2016 · 7 comments

Comments

@mtsrvs
Copy link

mtsrvs commented May 29, 2016

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.

@FabienLavocat
Copy link

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.

@mtsrvs
Copy link
Author

mtsrvs commented May 29, 2016

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

@FabienLavocat
Copy link

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

@mtsrvs
Copy link
Author

mtsrvs commented May 29, 2016

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.

@FabienLavocat
Copy link

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.

@mtsrvs
Copy link
Author

mtsrvs commented May 29, 2016

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

@FabienLavocat
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants