Commit 2f89388d authored by Paul Bethge's avatar Paul Bethge
Browse files

use docker paths

parent 9197e50b
YTDL_DIR=$PWD/"yt-downloads"
YTDL_DIR="/data/noise"
TEMP_DIR=$PWD/"yt-noise-processed"
CV_DIR=$1
CV_DIR="/data/common_voice_filtered/five_sec_vad/wav/"
echo "Processing downloaded samples..."
python3 data/other/cut_audio.py --input_dir $YTDL_DIR --output_dir $TEMP_DIR
......@@ -8,4 +8,4 @@ python3 data/other/cut_audio.py --input_dir $YTDL_DIR --output_dir $TEMP_DIR
echo "Splitting and moving the processed samples to the dataset directory..."
python3 data/other/split_to_common_voice.py --input_dir $TEMP_DIR --output_dir $CV_DIR
rm -r $TEMP_DIR
\ No newline at end of file
rm -r $TEMP_DIR
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment