forked from NVIDIA/Audio2Face-3D-SDK
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgen_testdata.sh
More file actions
executable file
·28 lines (20 loc) · 823 Bytes
/
Copy pathgen_testdata.sh
File metadata and controls
executable file
·28 lines (20 loc) · 823 Bytes
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
#!/bin/bash
set -e
BASE_DIR="$(dirname ${BASH_SOURCE})"
# Set up PYTHONPATH
export PYTHONPATH="$BASE_DIR/audio2x-common/scripts:$PYTHONPATH"
if [ -z "$TENSORRT_ROOT_DIR" ]; then
echo "TENSORRT_ROOT_DIR is not defined"
exit 1
fi
export PATH="$TENSORRT_ROOT_DIR/bin:$PATH"
export LD_LIBRARY_PATH="$TENSORRT_ROOT_DIR/lib:$LD_LIBRARY_PATH"
echo "Generating test data..."
python "$BASE_DIR/audio2x-common/scripts/gen_test_data.py"
python "$BASE_DIR/audio2face-sdk/scripts/gen_test_data.py"
python "$BASE_DIR/audio2emotion-sdk/scripts/gen_test_data.py"
echo "Generating sample data..."
python "$BASE_DIR/audio2face-sdk/scripts/gen_sample_data.py"
python "$BASE_DIR/audio2emotion-sdk/scripts/gen_sample_data.py"
echo "Generating benchmark data..."
python "$BASE_DIR/audio2emotion-sdk/scripts/gen_benchmark_data.py"