Skip to content

Ismail-Ryad/trial---03

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

1. Installing dependencies

1.1. LibTorch

wget https://download.pytorch.org/libtorch/lts/1.8/cpu/libtorch-cxx11-abi-shared-with-deps-1.8.2%2Bcpu.zip 
unzip libtorch-cxx11-abi-shared-with-deps-1.8.2%2Bcpu.zip

1.2. OpenCV

sudo apt-get install libopencv-dev python3-opencv 

1.3. BIP

1.3.0. Installing dependencies for BIP

sudo apt-get update
sudo apt-get install ant cmake g++ default-jre default-jdk

1.3.1. Getting BIP source code

git clone https://gricad-gitlab.univ-grenoble-alpes.fr/verimag/bip/compiler.git

1.3.2. Compiling source code

cd compiler/distribution
./single-archive-dist.sh
cd build/bip-full
source ./setup.sh

2. Building C++ executable for image classification

cd learn
source setup.sh
cp limit ../../model/ext-cpp

3. Executing the BIP model

To reactivate Bip Compiler

source /root/compiler/distribution/build/bip-full/setup.sh
cd model
source compile_run_bip.sh -c learn Compound
./system -s

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published