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

Cpu and gpu #29

Closed
headphone0jack opened this issue Aug 28, 2020 · 2 comments
Closed

Cpu and gpu #29

headphone0jack opened this issue Aug 28, 2020 · 2 comments

Comments

@headphone0jack
Copy link

Why my cpu and gpu process time is the same?

@csxmli2016
Copy link
Owner

Why my cpu and gpu process time is the same?

Very strange. With these default parameters, it takes 35s and 12.8s on cpu and gpu mode, respectively.

On cpu:

python test_FaceDict.py --gpu_ids -1
output: 35s

On gpu:

python test_FaceDict.py --gpu_ids 0
output: 12.8s

@alessiapacca
Copy link

hey @csxmli2016 , is this an accurate result on the timing? Can we say that the CPU runtime is almost 3 times the GPU ones? Because I don't have a suitable GPU to run the evaluation, but I would like to have precise a timing analysis

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

3 participants