Coder Social home page Coder Social logo

davidsonic / interpretable_cnns_via_feedforward_design Goto Github PK

View Code? Open in Web Editor NEW
11.0 11.0 8.0 162.28 MB

Official Implementation of Interpretable Convolutional Neural Networks via Feedforward Design Arxiv: https://arxiv.org/abs/1810.02786

Python 11.29% Jupyter Notebook 88.71%

interpretable_cnns_via_feedforward_design's People

Contributors

davidsonic avatar minzhang-1 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

interpretable_cnns_via_feedforward_design's Issues

Why the test acc is so low?

I run the following scripts
python Getkernel.py
python Getfeature.py
python Getweight.py
python mnist_test.py
But the testing acc is only 0.0974.

The orders of mean removal

In MNIST/saab.py (154-157), you first remove the sample patches' feature means, then the patch means.
However, the order is reversed in CIFAR10/saab.py (109-113). Won't it affect the result?

Also, I am curious why in CIFAR10/saab.py (198 & 252), you perform the projection using the sample patches but not the patches that have removed the mean while you perform

transformed=np.matmul(sample_patches_centered, np.transpose(kernels))

in MNIST/saab.py.

MemoryError:Unable to allocate array with shape (39146090,75) and data type float64

First,thanks for your code. I have run the code
I don't find the feat.pkl , run Get_feature.py to get feat.pkl
when i run Get_kernel.py ,my server have has MemoryError (my server has 128g physical memory)
but , when i run about minst code don't happened memoryerror , It is happened at cifar code
So, I'd like to ask if you have any memoryerror in your experiment, I think 128g physical memory already big enough

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.