-
Notifications
You must be signed in to change notification settings - Fork 208
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
Using LSD objective method to evalate the upsample wav, I can't get the same results on the paper. #25
Comments
iam trying to evaluate it too, at the moment i couldnt get the same results too. It would be nice to have the original model. |
just run the train code, but can't test the model. |
how couldnt you test it? checkout my repository if you want i forked the project. i run this to validate
where split and validation as far as I have understood is in those files: audio-super-res\data\vctk\speaker1\speaker1-train-files.txt I modified the fails to test the code and just used 10 files each. That will be faster. |
what code did you use? the main repo from kuleshov? what libraries did you use? i couldnt manage to run it with the libs in the description. I had to change from python 2.X to 3.X and change tensorflow and keras versions. |
Same issue here. My implementation of LSD didn't even get the same scale, while the SNR's were comparable. |
Could you fix your problems ? |
def compute_LSD(x_hr,x_pr):
def get_power(x):
S = librosa.stft(x, 2048)
S = np.log10(np.abs(S)**2 )
return S
with np.errstate(divide='ignore'):
S1 = get_power(x_hr)
S2 = get_power(x_pr)
lsd = np.mean(np.sqrt(np.mean((S1-S2)**2, axis=1)), axis=0)
return lsd Try using that snippet to calculate LSD. That seemed to help |
I'm happy to help if this is still an issue. FWIW, I've updated the code to run in Python 3 with later versions of Keras and Tensorflow. |
I review the DNN network, using single speaker dataset in vctk, but when i evalate the upsample wav, I can't get the same results. It maybe my LSD code faults or what?
can you please tell me the split about train and validation datasets?
thank you.
The text was updated successfully, but these errors were encountered: