insunhwang89 / StyleVC

MIT License
30 stars 3 forks source link

Params change with different sampling_rate? #6

Closed skol101 closed 2 years ago

skol101 commented 2 years ago

If sampling rate is changed, shall other model params in config.sjon be changed like these:

  "upsample_rates": [8,8,2,2],
    "upsample_kernel_sizes": [16,16,4,4],
    "upsample_initial_channel": 512,
    "resblock_kernel_sizes": [3,7,11],
    "resblock_dilation_sizes": [[1,3,5], [1,3,5], [1,3,5]],

    "segment_size": 8192,
    "num_mels": 80,
    "num_freq": 1025,
    "n_fft": 1024,
    "hop_size": 256,
    "win_size": 1024,
insunhwang89 commented 2 years ago

We used HiFiGAN to convert the mel spectrogram to the waveform. If you want to use a different sampling rate, you could change it according to HiFiGAN.

skol101 commented 2 years ago

I probably haven't been clear. My question is: should other params (like num_mels, n_fft, etc.) be changed if the dataset's sample rate is different (in my case 24k).