Crates.io | nnv-rs |
lib.rs | nnv-rs |
version | 0.6.1 |
source | src |
created_at | 2021-10-23 05:24:19.378537 |
updated_at | 2022-03-22 17:09:34.820615 |
description | Verification and Statistics on Deep Neural Networks |
homepage | |
repository | https://github.com/drkwint/nnv-rs |
max_upload_size | |
id | 469758 |
size | 2,287,334 |
Fast reachability analysis and sampling for deep neural networks
Based loosely on the matlab toolbox of a similar name largely developed by Dr. Hoang-Dung Tran. I'm developing this software for my dissertation and I'm happy to support other work using it. If you're using this package or working on similar problems, please let me know by email at equint at cse dot unl dot <educational ending>
(sorry, trying to thwart automated mailers).
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
and re-launch your shell.pip install -r requirements.txt
to install Python requirements.ndarray-linalg
, numpy
, truncnorm-rs
ndarray
version in numpy
to 15.2.0
CMake
3.15 or higher is installed as well as clang
apt-get install libopenblas-dev
on Ubuntu)rustup default nightly
python ./setup.py install
When benchmarking, if you want to generate a flamegraph, use the following syntax:
cargo bench --bench my_benchmark -- --profile-time 5
/usr/bin/ld: cannot find -lCbcSolver
: cbc solver is a default dependency of the good_lp
package we're using for linear programming. Fix on Ubuntu is to run sudo apt install coinor-libcbc-dev
.This work is not supported by anybody.