Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangshaolei1998 committed Jul 25, 2023
1 parent 12fae2f commit feff06a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -320,16 +320,16 @@ export CUDA_VISIBLE_DEVICES=0
MUSTC_ROOT=path_to_mustc_data
LANG=de
SAVE_DIR=path_to_save_checkpoints
OUPUT_SEG=path_to_save_segment
OUTPUT_SEG=path_to_save_segment

WAV=path_to_wav_file

python segment.py ${MUSTC_ROOT}/en-${LANG} \
--task speech_to_text_multitask \
--config-yaml config_raw.yaml \
--ckpt ${SAVE_DIR}/average-model.pt \
--save-root ${OUPUT_SEG} \
--wav ${wav}
--save-root ${OUTPUT_SEG} \
--wav ${WAV}
```

## Results
Expand Down
6 changes: 3 additions & 3 deletions shell_scripts/seg.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ export CUDA_VISIBLE_DEVICES=0
MUSTC_ROOT=path_to_mustc_data
LANG=de
SAVE_DIR=path_to_save_checkpoints
OUPUT_SEG=path_to_save_segment
OUTPUT_SEG=path_to_save_segment

WAV=path_to_wav_file

python segment.py ${MUSTC_ROOT}/en-${LANG} \
--task speech_to_text_multitask \
--config-yaml config_raw.yaml \
--ckpt ${SAVE_DIR}/average-model.pt \
--save-root ${OUPUT_SEG} \
--wav ${wav}
--save-root ${OUTPUT_SEG} \
--wav ${WAV}

0 comments on commit feff06a

Please sign in to comment.