Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

some problems when load the model ane prediction #59

Open
fengqiyun opened this issue Jan 18, 2019 · 0 comments
Open

some problems when load the model ane prediction #59

fengqiyun opened this issue Jan 18, 2019 · 0 comments

Comments

@fengqiyun
Copy link

I had some trouble loading the model for experimental testing,The model is downloaded from your github page. I modified clean_wav.sh as follows:

guia file containing pointers to files to clean up

#if [ $# -lt 1 ]; then
#echo 'ERROR: at least wavname must be provided!'
#echo "Usage: $0 <guia_file> [optional:save_path]"
#echo "If no save_path is specified, clean file is saved in current dir"
#exit 1

NOISY_WAVNAME='/home/zyf/SEGAN/segan-master1/noisy_testset_wav_16k/p232_022.wav'
#NOISY_WAVNAME='/home/zyf/SEGAN/segan-master1/mytest/p232_022.wav'
SAVE_PATH='test_clean_results'
#if [ $# -gt 1 ]; then

SAVE_PATH="$2"

#fi

#echo "INPUT NOISY WAV: $NOISY_WAVNAME"
#echo "SAVE PATH: $SAVE_PATH"
mkdir -p $SAVE_PATH

python main.py --init_noise_std 0. --save_path segan_v1.1
--batch_size 100 --g_nl prelu --weights SEGAN-41700
--preemph 0.95 --bias_deconv True
--bias_downconv True --bias_D_conv True
--test_wav $NOISY_WAVNAME --save_clean_path $SAVE_PATH

When the path specifies a voice file, the program can run and de-noising the noisy voice. Why the path specified as a folder does not run, how can I modify the program to batch voice for noise reduction

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant