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

kernel_size=3? #152

Open
a897456 opened this issue Oct 11, 2023 · 0 comments
Open

kernel_size=3? #152

a897456 opened this issue Oct 11, 2023 · 0 comments

Comments

@a897456
Copy link

a897456 commented Oct 11, 2023

in models.py
self.resblocks = nn.ModuleList()
for i in range(len(self.ups)):
ch = h.upsample_initial_channel//(2**(i+1))
for j, (k, d) in enumerate(zip(h.resblock_kernel_sizes, h.resblock_dilation_sizes)):
self.resblocks.append(resblock(h, ch, k, d))

class ResBlock1(torch.nn.Module):
def init(self, h, channels, kernel_size=3, dilation=(1, 3, 5)):

The k in the first paragraph is [3 7 11],Why is k fixed to 3 in the second paragraph?

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