Skip to content

Synthesized models for PHOG to make the results reproducible by the research community

License

Notifications You must be signed in to change notification settings

eth-sri/ModelsPHOG

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installation

Install bazel (Google Build System)

Execute the following instructions to get Java8 installed

sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer

Download bazel

echo "deb http://storage.googleapis.com/bazel-apt stable jdk1.8" | sudo tee /etc/apt/sources.list.d/bazel.list
curl https://storage.googleapis.com/bazel-apt/doc/apt-key.pub.gpg | sudo apt-key add -

Install bazel

sudo apt-get update
sudo apt-get install bazel

Get latest version of Bazel.

sudo apt-get upgrade bazel

For for information: [http://www.bazel.io/docs/install.html]

Install prerequisites

sudo apt-get install libgoogle-glog-dev libgflags-dev libargtable2-dev cmake

Compile

bazel build -c opt //... --cxxopt="-fopenmp" --linkopt="-fopenmp" --cxxopt="-DGTEST_HAS_TR1_TUPLE=0"

In case you see an error, you may need to set java home by calling: export JAVA_HOME=/usr/lib/jvm/java-8-oracle

Run tests

bazel test -c opt //... --cxxopt="-fopenmp" --linkopt="-fopenmp" --cxxopt="-DGTEST_HAS_TR1_TUPLE=0"

You can also use -c dbg instead of -c opt to run with debug version of the code.

Running on existing datasets

See running details at [http://www.srl.inf.ethz.ch/phog].

About

Synthesized models for PHOG to make the results reproducible by the research community

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages