[Question] About SuperSeparableConv2d

#113 · closed · 2 comments

View on GitHub ↗

saduf

Hi, thanks for sharing this great work. In the regular Cyclegan Resnet block, both Conv2d use the same number channels, usually 64*4. In the SuperMobileResnetBlock, the first SuperSeparableConv2d uses the sampled number of channels from the resnet_configs channels-64-cycleGAN, and the second uses the input.size(1). I would expect both SuperSeparableConv2d to use the same number of channels as in the original generator. <img src="https://user-images.githubusercontent.com/36648406/210116139-bcf7fe80-15ff-4f56-a170-f7ee4404c8a5.png" width=40% height=40%> I would appreciate your help understanding this, Thank you.

Comments

lmxyy

Hi, this is because the ResNet Block has a residual connection so the input channel number must match the output channel number. What we can do is just change the first convolution's output channel number. The others are all determined.

saduf

Thanks a lot for your response!