We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hey, by commenting the code in data_utils.py you introduced a potential bug if the wav files are not equality sized
The text was updated successfully, but these errors were encountered:
Could you provide link to what code exactly ?
Sorry, something went wrong.
when commenting this code: ''' lmin = min(c.size(-1), spec.size(-1)) spec, c = spec[:, :lmin], c[:, :lmin] audio_norm = audio_norm[:, :lminself.hop_length] _spec, _c, _audio_norm = spec, c, audio_norm while spec.size(-1) < self.spec_len: spec = torch.cat((spec, _spec), -1) c = torch.cat((c, _c), -1) audio_norm = torch.cat((audio_norm, _audio_norm), -1) start = random.randint(0, spec.size(-1) - self.spec_len) end = start + self.spec_len spec = spec[:, start:end] c = c[:, start:end] audio_norm = audio_norm[:, startself.hop_length:end*self.hop_length] '''
So, you're saying this code must be UNcommented?
No branches or pull requests
Hey,
by commenting the code in data_utils.py you introduced a potential bug if the wav files are not equality sized
The text was updated successfully, but these errors were encountered: