forked from Emrys365/espnet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstall_deepxi.sh
executable file
·29 lines (26 loc) · 951 Bytes
/
install_deepxi.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/bin/bash
#==============================================================================
# Title: install_deepxi.sh
# Description: Install everything necessary for deepxi to compile.
# Author: Fabian Hörst, based on DeepXi GitHub page
# Github DeepXi: https://github.com/anicolson/DeepXi
# Date: 2021-12-04
# Version : 1.0
# Usage: bash install_deepxi.sh
# Python environment: DeepXi Python environment is saved under ~/venv/DeepXi in
# your home directory
#==============================================================================
# Exit script if any command fails
set -e
set -o pipefail
echo "Installing DeepXi"
# If Direcotry exists, pull missing files
if [ -d "DeepXi" ]; then
cd DeepXi
git pull https://github.com/anicolson/DeepXi.git
cd ..
# Clone git in current directory, build virtual environment and install requirements
else
git clone https://github.com/anicolson/DeepXi.git
fi
echo "DeepXi installed"