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

Super Slow at optim on linux Mint #8

Closed
pingu2k4 opened this issue Dec 24, 2017 · 1 comment
Closed

Super Slow at optim on linux Mint #8

pingu2k4 opened this issue Dec 24, 2017 · 1 comment

Comments

@pingu2k4
Copy link

Have this on a fresh install of linux Mint. I'm running the example, 'python main.py optim --content-image images/content/venice-boat.jpg --style-image images/21styles/candy.jpg' and its taking FOREVER to do anything. I used to have it working at a decent speed on Ubuntu on the same hardware.

When inspecting GPU and CPU usage, I see it start off with minimal GPU usage, and huge CPU usage. it slowly increases GPU usage over time until it has enough and then completes the rest in around the same time as before. As an example, it takes around 8 minutes to figure out that there isn't enough VRAM for the selected image size, whereas previously on my Ubuntu installation that would take a matter of seconds. Any idea why it would take so much longer on Mint? And what I can do to remedy this?

@pingu2k4
Copy link
Author

OK, so kinda wish I held off on posting by another hour or so - It seems that I installed the wrong version of pytorch - One which was for 7.5 cuda, when I have 8.0 cuda. Fixed it by running 'sudo -H pip3 install --upgrade --force-reinstall http://download.pytorch.org/whl/cu80/torch-0.3.0.post4-cp35-cp35m-linux_x86_64.whl' - Replace the URL with the whl relevant to you if you get this.

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

1 participant