Baike.dev
All toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
S

sherlock

> 编程语言
Open source

Sherlock is a tool for output range anaylsis of Deep Neural Networks with ReLU activation units.

91.3K stars0 likes0 views
WebsiteGitHub

About

Sherlock is a tool for output range anaylsis of Deep Neural Networks with ReLU activation units.

sherlock

Sherlock is an output range analysis tool for deep neural networks. The current version can handle only feedforward neural networks, with ReLU activation units.

The only library that is needed is the MILP solver Gurobi. It's free for academic purposes and can be downloaded from here : http://www.gurobi.com/resources/getting-started/mip-basics

Instructions to Compile

Please modify the file Makefile.locale to help us find Gurobi.

For a Mac with the latest gurobi7.52 installed your likely settings will be:

HOST_ARCH=mac64 GUROBI_PATH=/Library/gurobi752

For a linux box, your settins will be:

ARCH=linux64 # if you are using a linux box GUROBI_PATH=/opt/gurobi752

You should feel free to modify these two variables. The Makefile will look for Gurobi headers under

$(GUROBI_PATH)/$(HOST_ARCH)/include

and libraries under

$(GUROBI_PATH)/$(HOST_ARCH)/include

Once these are set, you should type

make

to compile. It should work out of the box.

Instructions to run

Please use the command line run_file to run all the benchmarks.

./run_file all

Enjoy the output as it scrolls on your screen :-)

Alternatively, you can run a specific benchmark using the following command :

./run_file <benchmark_no>

Issues· 3 open

View all issuesOpen on GitHub
  • #6

    Compiling Sherlock with newer Gurobi Version

    Updated May 23, 2023
  • #7

    Missing src/onnx.pb.o

    Updated Jan 17, 2023
  • #5

    Compiling Sherlock

    Updated Jun 24, 2020

> Tags

C++

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言