Skip to content

Commit

Permalink
delete unuse shell files
Browse files Browse the repository at this point in the history
  • Loading branch information
sooftware committed Oct 26, 2020
1 parent cabdef0 commit 6f88090
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
6 changes: 0 additions & 6 deletions dataset/prepare-dataset.sh

This file was deleted.

2 changes: 1 addition & 1 deletion dataset/preprocess/character.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def generate_character_script(audio_paths, transcripts, labels_dest):
print('create_script started..')
char2id, id2char = load_label(os.path.join(labels_dest, "aihub_vocabs.csv"))

with open(os.path.join("transcripts.txt"), "w") as trans_file:
with open(os.path.join("../data/transcripts.txt"), "w") as trans_file:
for audio_path, transcript in zip(audio_paths, transcripts):
number_transcript = sentence_to_target(transcript, char2id)
audio_path = audio_path.replace('txt', 'pcm')
Expand Down
2 changes: 1 addition & 1 deletion run-las.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

ARCHITECTURE='las'
DATASET_PATH='your_dataset_path'
TRANSCRIPTS_PATH='your_transcripts_path'
TRANSCRIPTS_PATH='../data/transcripts.txt'
BATCH_SIZE=32
NUM_WORKERS=4
NUM_EPOCHS=20
Expand Down

0 comments on commit 6f88090

Please sign in to comment.