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

On Windows 10 with pytorch, it will only use the CPU despite saying it's using the GPU #86

Open
Sister-Perish opened this issue Jul 4, 2021 · 1 comment

Comments

@Sister-Perish
Copy link

Here's the output it gives when run:

MatplotlibDeprecationWarning:
The support for Qt4 was deprecated in Matplotlib 3.3 and will be removed two minor releases later.
from matplotlib.backends.qt_compat import QtGui
[win_size] = 512
[image_file] = test_imgs/mortar_pestle.jpg
[gpu] = 0
[cpu_mode] = False
[color_prototxt] = ./models/reference_model/deploy_nodist.prototxt
[color_caffemodel] = ./models/reference_model/model.caffemodel
[dist_prototxt] = ./models/reference_model/deploy_nopred.prototxt
[dist_caffemodel] = ./models/reference_model/model.caffemodel
[color_model] = ./models/pytorch/caffemodel.pth
[backend] = pytorch
[pytorch_maskcent] = False
[load_size] = 256
ColorizeImageTorch instantiated
path = ./models/pytorch/caffemodel.pth
Model set! dist mode? False
ColorizeImageTorch instantiated
path = ./models/pytorch/caffemodel.pth
Model set! dist mode? True
test_imgs/mortar_pestle.jpg
scale = 2.000000

But the GPU does nothing, while the CPU is maxed out and the colorization is very slow.
I have installed all of the GPU stuff and verified it's working, so I don't see what the problem is.

@semel1
Copy link

semel1 commented Jul 4, 2021

The same with me. GPU utilization = 0

cdb-boop pushed a commit to cdb-boop/interactive-deep-colorization that referenced this issue Aug 8, 2023
- Fixed bug described here: junyanz#86
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