To receive notifications about scheduled maintenance, please subscribe to the mailing-list gitlab-operations@sympa.ethz.ch. You can subscribe to the mailing-list at https://sympa.ethz.ch

Commit dbdb07bd authored by Lukas Wolf's avatar Lukas Wolf
Browse files

remove printout

parent 0d13cb6c
......@@ -62,7 +62,6 @@ class Pad_Conv2d(nn.Module):
self.right = max(math.floor(kernel_y/2), 0)
self.top = max(math.floor(kernel_x/2)-1, 0)
self.bottom = max(math.floor(kernel_x/2), 0)
print(f"left, right, top, bottom {self.left, self.right, self.top, self.bottom}")
def forward(self, x):
return nn.ConstantPad2d((self.left, self.right, self.top, self.bottom), self.value)(x)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment