Comments (7)
Btw, I added an example notebook that works on Keras 2 to the keras2compat branch: https://github.com/kundajelab/deeplift/blob/keras2compat/examples/mnist/MNIST_replicate_figures.ipynb - let me know if you have any issues.
from deeplift.
Hi Armen,
Did you load the model using the theano or the tensorflow backend?
from deeplift.
Hi @AvantiShri,
Using TensorFlow backend. Thanks for your prompt response, really enjoyed your talk at Nvidia GTC.
from deeplift.
Are you using the version of DeepLIFT that is on the master branch, or the version that is on the dev-tf branch? The master branch is intended for models trained with the theano backend.
Also, the keras2compat branch is designed for keras 2.0 models, but I have not updated the example notebooks on that branch. Do you specifically want to use keras 1.2? If not, I can prioritize getting the example notebooks on the keras 2.0 branch and just making that into the master branch.
from deeplift.
I'm using master branch. Ultimately, I'm trying to reproduce the examples before doing any further work.
I see, let me try to use theano backend & try to reproduce the MNIST & Genomics example notebooks.
It would be nice to get examples working with keras 2.0, but it's less of a priority so long as I get the above to work. Out of curiosity, have you gotten DeepLift to work w/ Tensorflow backend? If so, were you using Keras 1.2 or 2.0?
from deeplift.
I’ve gotten DeepLIFT to work with the tensorflow backend with both keras 2.0 and keras 1.2. DeepLIFT for keras 2.0 and the tensorflow backend is implemented on the keras2compat branch. DeepLIFT for keras 1.2 with tensorflow is on the dev-tf branch.
from deeplift.
Excellent, thanks for the clarification, I'll give it a test drive.
from deeplift.
Related Issues (20)
- categorial variables HOT 2
- adjustment for softmax HOT 2
- KeyError: 'batch_input_shape' while using deeplift on keras
- KeyError: 'zeropadding2d' HOT 1
- Question regarding version 0.6.11.0 that is not anymore available. HOT 2
- bpnet/deepexplain issue
- genomics training example HOT 1
- DeepLIFT with the RevealCancel rule
- Deeplift with Cifar10 HOT 3
- how do I download deeplift version of 0.5.1-theano HOT 2
- How to use deeplift for regression HOT 1
- Does DeepLIFT support to use deep residual? I have a model with deep residual, and want to use DeepLIFT to interpret it too. Thanks! HOT 1
- can deeplift explain text classification? HOT 2
- Sequential model input layer convert HOT 3
- Aggregating contribution scores
- keras2_mnist_cnn_allconv.h5 of MNIST demo can't be decoded
- Dimension error in a multi-input, multi-channel CNN HOT 2
- AttributeError: module 'tensorflow' has no attribute 'placeholder'
- deepLIFT scores always central to genomic sequence
- Dinucleotide shuffling does not shuffle
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from deeplift.