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
Work with TensorFlow backend #38
Comments
One clue: the preamble spew is different. Here's what I get when running a Keras example:
Here's what I get when running mhcflurry:
|
Another clue: when I set breakpoints and step through mhcflurry, I die on constructors that seem to create TensorFlow variables, e.g.
|
Further investigation indicates that the The The |
I put a notebook into a branch that tries to build a mhcflurry-like model of our IEDB data using Keras directly rather than going through mhcflurry libraries. Currently I'm dying on |
Okay to avoid the IPython issues I've pushed a minimal script that runs on the Theano backend but segfaults the TF backend. |
I have no idea why https://github.com/fchollet/keras/blob/master/examples/mnist_cnn.py works and https://github.com/hammerlab/mhcflurry/blob/hammer_tf_backend/script/tf-mhcflurry.py segfaults. Getting close to moving on from this issue and using Theano. |
Update: the segfault goes away if I remove the |
Incredibly, setting Even though I deleted every reference to |
Wow, thanks for the perseverance. |
Update: I can successfully train models, though they're pretty slow. I get this warning from TensorFlow, which may indicate that Keras is generating bad TF code? Some discussion at tensorflow/tensorflow#206 (comment).
|
I have been able to get several Keras examples to work with the TensorFlow backend but I have not been able to get mhcflurry to work.
The text was updated successfully, but these errors were encountered: