Open rayset opened 8 years ago
Thanks for giving it a shot with opencl! I think both of those issues need to be solved in keras. I'll have a look at what it would take.
if you'll ever need some opencl testing feel free contact me, sadly I'm not able to help you more than that.
I read that the developers of neural doodle are looking into opencl too (they also have a theano backend),I'm myself going to test it too tomorrow, if I read something interesting over there I will link it here.
as you know theano works on opencl, but it's in beta.
first issue: this program forces cpu mode if not on cuda.
I think this is because of the _on_gpu() method of keras/backend/theano_backend.py that seems to assume opencl (and gpuarray) support don't exist.
second problem: this is the error I get running the code
I think using conv2d instead of ConvOp could fix it, but I really have no idea of how much of a work is it. if you'll ever decide to make it work on opencl I will happly make a readme here or on reddit on how to set it up. for now I'll try to figure out how to run with tensorflow!