Skip to content
This repository has been archived by the owner on Oct 18, 2019. It is now read-only.

GPU version not faster than CPU version #33

Open
HolyB opened this issue Dec 8, 2016 · 3 comments
Open

GPU version not faster than CPU version #33

HolyB opened this issue Dec 8, 2016 · 3 comments

Comments

@HolyB
Copy link

HolyB commented Dec 8, 2016

Hi,
I tried GPU version of the open_nsfw. But I found the GPU version is just a little faster than CPU.
Does anyone know the reason?

@jeshjesh
Copy link

jeshjesh commented May 9, 2017

How much time did it take in classify?

@jingith
Copy link

jingith commented Jun 29, 2017

Me too~~ GPU not faster than cpu, I watch nvidia-smi GPU-Util is still 0%,and GPU Memory is not zero. It means processing in GPU,but not use GPU‘calculate

@lleiiell
Copy link

lleiiell commented Sep 18, 2019

try

caffe.set_mode_gpu()
caffe.set_device(0)

it works for me, up to 10 times faster

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

No branches or pull requests

4 participants