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

Why doesn't my GPU data sync with my CPU data? It's a strange problem. I don't kown how to solve it. #6868

Open
xuexigua opened this issue Nov 18, 2019 · 0 comments

Comments

@xuexigua
Copy link

I try to print CPU data and GPU data in my loss layer Forward_gpu() function like this:
LOG(INFO)<<bottom[0]->cpu_data()[0];
LOG(INFO)<<bottom[0]->gpu_data()[0];
Finally, the CPU data was successfully printed, but the CPU data wasn't.
And SSD-caffe can run successfully.
This is my currnet server information:
Ubuntu 14.04
CUDA8.0
cudnn6.0

The same code executed successfully on my other computer.

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