Comments (3)
did you end up fixing this issue?
from deeplift.
I Have the same problem.. Also trying to apply deeplift on a model which was trained with the cifar10 dataset.
I use the same model from the Tutorial:
Model: "sequential"
Layer (type) Output Shape Param
conv2d (Conv2D) (None, 32, 32, 32) 896
conv2d_1 (Conv2D) (None, 32, 32, 32) 9248
max_pooling2d (MaxPooling2D (None, 16, 16, 32) 0
)
dropout (Dropout) (None, 16, 16, 32) 0
conv2d_2 (Conv2D) (None, 16, 16, 64) 18496
conv2d_3 (Conv2D) (None, 16, 16, 64) 36928
max_pooling2d_1 (MaxPooling (None, 8, 8, 64) 0
2D)
dropout_1 (Dropout) (None, 8, 8, 64) 0
conv2d_4 (Conv2D) (None, 8, 8, 128) 73856
conv2d_5 (Conv2D) (None, 8, 8, 128) 147584
max_pooling2d_2 (MaxPooling (None, 4, 4, 128) 0
2D)
dropout_2 (Dropout) (None, 4, 4, 128) 0
flatten (Flatten) (None, 2048) 0
dense (Dense) (None, 128) 262272
dropout_3 (Dropout) (None, 128) 0
dense_1 (Dense) (None, 10) 774
=================================================================
Total params: 550,054
Trainable params: 550,054
Non-trainable params: 0
The code for the DeepLIFT implementation is from the MNIST-example:
Code:
import deeplift
from deeplift.layers import NonlinearMxtsMode
from deeplift.conversion import kerasapi_conversion as kc
deeplift_model =\
kc.convert_model_from_saved_files(
h5_file='model4cifar10.h5',
nonlinear_mxts_mode=deeplift.layers.NonlinearMxtsMode.DeepLIFT_GenomicsDefault)
And I get the exact same errormessage.
from deeplift.
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
- 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.