Skip to content

Commit

Permalink
fix link bug 2
Browse files Browse the repository at this point in the history
  • Loading branch information
DTDwind committed Jun 14, 2023
1 parent 308dfa3 commit 5ba62ea
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions AMI_run.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env bash

stage=1
stage=0
AMIcorpus=example/ami/amicorpus # If you already have amicorpus, please set the path to that location and skip stage 0.
oracle_rttm_path=example/ami/rttm
testset_path=example/ami/ami_testset
Expand All @@ -17,11 +17,11 @@ if [ $stage -le 1 ]; then
for audio_path in $(find $AMIcorpus/*/audio -name *.wav)
do
audio_name=`basename $audio_path`
# echo $audio_path
new_audio_name=$(basename "$audio_name" .Mix-Headset.wav).wav
for test_name in $(cat example/ami/ami_testset_list.txt)
do
if [ $audio_name == $test_name ]; then
ln -s `pwd`/$audio_path $testset_path
ln -s `pwd`/$audio_path $testset_path/$new_audio_name
fi
done
done
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

setup(
name="RTTManz",
version="0.3.0",
version="0.3.1",
author="Yu-Sen Cheng (DTDwind)",
description="A simple Python package for analyzing the necessary data in Speaker Diarization using oracle RTTM files and audio files.",
keywords="analyze rttm",
Expand Down

0 comments on commit 5ba62ea

Please sign in to comment.