Closed GiantKevin closed 4 years ago
https://github.com/SerialLain3170/Colorization/blob/66915f3875720f6223a51efaee358f3c3e315bef/nohint_pix2pixHD/model.py#L117
if norm == "bn": modules.append(nn.BatchNorm2d(out_ch)) elif norm == "in": modules.append(**nn.BatchNorm2d(out_ch)**) nn.BatchNorm2d(out_ch) should be nn.InstanceNorm2d(out_ch).
if norm == "bn": modules.append(nn.BatchNorm2d(out_ch)) elif norm == "in": modules.append(**nn.BatchNorm2d(out_ch)**)
Anyway, this project is great, thanks for your sharing.
Thanks, I had not noticed the bug. I'll fix it.
https://github.com/SerialLain3170/Colorization/blob/66915f3875720f6223a51efaee358f3c3e315bef/nohint_pix2pixHD/model.py#L117
if norm == "bn": modules.append(nn.BatchNorm2d(out_ch)) elif norm == "in": modules.append(**nn.BatchNorm2d(out_ch)**)
nn.BatchNorm2d(out_ch) should be nn.InstanceNorm2d(out_ch).Anyway, this project is great, thanks for your sharing.