Comments (3)
@JacksonZyy Can you provide an exact command and config file so we can try to replicate the problem?
from alpha-beta-crown.
Hi,
I used the previous version of your system like 3 months ago.
The execution command is:
conda activate alpha-beta-crown
cd complete_verifier
python robustness_verifier.py --config exp_configs/mnist_conv_small.yaml
where I simply modified your original robustness_verifier.py
- to load_model_onnx() (as defined in util.py), as I used the onnx model from ERAN website
- Only select the first 100 images from the ERAN dataset instead of all of them
The .ymal file is updated to be
general:
mode: verified-acc
model:
name: mnist_conv_small
path: models/eran/mnist_convSmallRELU__Point.onnx
data:
dataset: MNIST_ERAN
std: [0.30810001492500305]
mean: [0.1307000070810318]
specification:
epsilon: 0.11
attack:
pgd_restarts: 100
solver:
beta-crown:
batch_size: 2048
iteration: 20
bab:
timeout: 2000
branching:
reduceop: max
The system printout gives me:
number of correctly classified examples: 100
incorrectly classified idx (total 0): []
attack success idx (total 16): [6, 8, 9, 11, 18, 20, 24, 33, 38, 61, 62, 65, 66, 73, 78, 92]
attack_success rate: 0.16
verification success idx (total 39): [0, 1, 2, 3, 5, 10, 13, 14, 17, 23, 25, 27, 28, 30, 31, 32, 34, 37, 39, 51, 56, 57, 60, 64, 67, 68, 70, 71, 74, 75, 79, 81, 82, 85, 86, 88, 90, 91, 97]
verification failure idx (total 0): []
final verified acc: 84.0%[100]
verifier is called on 39 examples.
total verified: 84
mean time [total:100]: 2.4678870487213134
mean time [cnt:39] (excluding attack success): 5.120762268702189
mean time [cnt:55] (including attack success): 4.487067361311479
from alpha-beta-crown.
The timeout works fine with the new system, even though the version before Sep release doesn't work
from alpha-beta-crown.
Related Issues (20)
- Query of theorem of handling residual networks with ADD layer HOT 1
- BaB for Heaviside Activation Function
- Binary out.txt file HOT 1
- CUDA out of memory HOT 6
- need help with Regression model and batch-normalization HOT 1
- alpha-beta-crown behavior HOT 1
- alpha-beta-crown always returns timeout even for a very simple model HOT 1
- GCP-CROWN‘s SDP example error
- Unable to run BAB attack with any given configuration files
- Can I compute the upper bound using incomplete verifier? HOT 13
- RuntimeError onnx network when verifying, while network works at inference
- Documentation info and "save_adv_example" only saving last example
- Can't install HOT 9
- AssertionError on act.inputs HOT 2
- Out-Of-Memory Error / "Killed"
- Explanation of the contents of the results file "out.txt"?
- How to run abcrown.py from inside Python? HOT 1
- It appears that there are missing indentations at line 501 and 502 in abcrown.py. HOT 1
- Inconsistency in Verification Results and Issues with Network Scaling and torch.norm Usage HOT 2
- AttributeError: 'Patches' object has no attribute 'permute' HOT 1
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 alpha-beta-crown.