fzuerkeraguilar / alpha-beta-deepZ

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

abZono

abZono is a Python library for verfying properties of a neural network using the zonotope abstract domain.

Table of Contents

Installation

Clone the repository with:

git clone --recurse-submodules

Install the required packages with:

pip install -r requirements.txt

Unzip the wanted network and vnnlib files in the test/vnnlib_202{2,3} folder. For example:

gunzip test/vnncomp2022_benchmarks/benchmarks/mnist_fc/oxxn/mnist-net_256x2.onnx.gz
gunzip test/vnncomp2022_benchmarks/benchmarks/mnist_fc/vnnlbi/prop_0_0.03.vnnlib.gz

Usage

python -m abZono --net test/vnncomp2022_benchmarks/benchmarks/mnist_fc/onnx/mnist-net_256x2.onnx --spec test/vnncomp2022_benchmarks/benchmarks/mnist_fc/vnnlib/prop_0_0.03.vnnlib

Testing

Run unit tests with:

./run_unittest.sh

About


Languages

Language:Python 99.8%Language:Shell 0.2%