-
Notifications
You must be signed in to change notification settings - Fork 85
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
Run on a machine with a CPU only #6
Comments
Have you found a version supports CPU? |
Yes, on https://github.com/mrquincle/latent_3d_points I've used https://github.com/optas/latent_3d_points. At https://github.com/optas/latent_3d_points/blob/master/external/structural_losses/ you see implementations for both CPU and GPU that work out of the box. |
Hi @mrquincle ,
I would appreciate it if you could give an example. |
I mean "to quickly test and adapt algorithms" on a machine that only has a CPU, so say 50 steps would be sufficient to see its behavior. Finally, when I'm done with algorithm design I run it on a system with a GPU to run up to 10.000 steps. It's just an argument to also provide a CPU implementation for the poor people that have no GPU. :-) |
However, I found CPU implementations, so you can close this issue. |
HI! Can you tell me how to modify the makefile in the folder that a CPU implementation can be obtained? Thanks! |
Hi Jin. You'll have to extract it from https://github.com/optas/latent_3d_points/blob/master/external/structural_losses/approxmatch.cpp, create a shared lib, and call it from python. Sorry, it can be annoying indeed. :-) |
Does it run using CPU rather than GPU?
I see there are _cpu specific files in https://github.com/charlesq34/pointnet-autoencoder/tree/master/tf_ops/nn_distance. So I guess the GPU dependency is not really necessary. However, the approxmatch directory seems to be GPU only?
It would be great to quickly iterate over new algorithms on a machine that does not support CUDA and after that switch to a machine with a GPU.
The text was updated successfully, but these errors were encountered: