Skip to content

Commit

Permalink
Update prepare.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
yfyeung authored Oct 30, 2024
1 parent 18c1b2f commit 55fea00
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions egs/librilight/SSL/prepare.sh
Original file line number Diff line number Diff line change
Expand Up @@ -86,15 +86,15 @@ if [ $stage -le 4 ] && [ $stop_stage -ge 4 ]; then
wget https://dl.fbaipublicfiles.com/hubert/hubert_base_ls960_L9_km500.bin -P download
fi
if [ ! -e data/kmeans/.extract_small.done ]; then
./local/discretize_with_s3tokenizer.py --subset small
./local/discretize_with_kmeans.py --subset small
touch data/kmeans/.extract_small.done
fi
if [ ! -e data/kmeans/.extract_medium.done ]; then
./local/discretize_with_s3tokenizer.py --subset medium
./local/discretize_with_kmeans.py --subset medium
touch data/kmeans/.extract_medium.done
fi
if [ ! -e data/kmeans/.extract_large.done ]; then
./local/discretize_with_s3tokenizer.py --subset large
./local/discretize_with_kmeans.py --subset large
touch data/kmeans/.extract_large.done
fi
fi

0 comments on commit 55fea00

Please sign in to comment.