tcwangshiqi-columbia / reluval Goto Github PK
View Code? Open in Web Editor NEWThe released code of ReluVal in USENIX Security 2018
License: Other
The released code of ReluVal in USENIX Security 2018
License: Other
If I change check_max_constant
in split.c
to use a threshold of -0.02 instead of 0.5011, I get a segfault during verification.
I am trying to test a neural network that has different sized hidden layers, but I am getting a segfault. After some debugging, it looks like the indices used for the weight matrices in backward_prop are wrong. See here. We can see that, along with line 1002, i and j will loop until the maxLayerSize, but if the weight matrices have smaller dimensions, then we'll have a segFault at line 1004. So this doesn't seem to be any issue for the example networks where the weight matrices are all maxLayerSize by maxLayerSize, but for non-uniform hidden layer networks, it causes a problem. I am having trouble fixing this issue on my own and would appreciate some help.
i don't understand what the "target" means in nnet.c.
when I make, I find Compilation Error. but I don't change the code.
/usr/bin/ld: split.o:(.bss+0x0): multiple definition of
lock'; network_test.o:(.bss+0x0): first defined here
collect2: error: ld returned 1 exit status
make: *** [makefile:15: network_test] Error 1`
In nnet.c
if (PROPERTY==16) {
float upper[] = {62000,-0.7,-3.141592+0.005,200,1200};
float lower[] = {12000,-3.141592,-3.141592,100,0};
memcpy(u, upper, sizeof(float)*inputSize);
memcpy(l, lower, sizeof(float)*inputSize);
}
if (PROPERTY==26) {
float upper[] = {62000,3.141592,-3.141592+0.005,200,1200};
float lower[] = {12000,0.7,-3.141592,100,0};
memcpy(u, upper, sizeof(float)*inputSize);
memcpy(l, lower, sizeof(float)*inputSize);
}
The upper and lower bounds of the 4th input variable (v_own) are specified 100 <= v_own <= 200, but in the Reluplex paper it's 100 <= v_own <= 1200.
Is this an intended change or a typo?
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.