darkonhub / darkon Goto Github PK
View Code? Open in Web Editor NEWToolkit to Hack Your Deep Learning Models
Home Page: http://darkon.io
License: Apache License 2.0
Toolkit to Hack Your Deep Learning Models
Home Page: http://darkon.io
License: Apache License 2.0
test_batch() function required in InfluenceFeeder for large test data feeding
I am using tensorflow 1.6, when import darkon
, it turns out that
/usr/local/lib/python2.7/dist-packages/tensorflow/contrib/__init__.py in <module>()
20
21 # Add projects here, they will show up under tf.contrib.
---> 22 from tensorflow.contrib import batching
23 from tensorflow.contrib import bayesflow
24 from tensorflow.contrib import cloud
ImportError: cannot import name batching
Can you run and get the most influential training examples of a very large dataset?
[1] Pang Wei Koh and Percy Liang "Understanding Black-box Predictions via Influence Functions" ICML2017
I tried the code they provided but it never worked for big datasets, other than easy model and MNIST
Thanks
Implement parallel processing of _grad_diffs() and _grad_diffs_all for faster execution
Needs to modify Tensorflow gradient functions
Using
opencv
for image processingscikit-image
for 1-D interpolationHi,
I am litte confused over the calculation of cur_estimate in _get_inverse_hvp_lissa()
Since we are assigning test_grad_loss to cur_estimate for every ihvp_config['num_repeats']
The cur_estimate computed would be same in every loop.Why is it assigned test_grad_loss inside the ihvp_config['num_repeats'] loop ?
Thanks.
using Travis ci
or Circle ci
Hi,
I came across your implementation of the Influence Function and am interested in separately grabbing the Hessian that is needed for the calculations. Is there a way for me to grab it without having to break apart the code?
thank you very much.
I tired to use darkon influence to find the influential example for wrong predicted examples.
However, one example took about 45 mins to complete.
Is it that slow?
When influence instance is created and called upweight function many times, the cpu memory will be increased.
Hello,
nice work, i really appreciate it.
I would like to know if it's possible to apply the idea of gradCam to a network such: pre-trained CNN for feature extraction + LSTM for sequence classification.
Thanks in avdance for the help!
There are many pre-trained nets in Slim, can darkon to visualize other nets, like inception?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.