updates
This commit is contained in:
parent
5403581e38
commit
b6ff9cad79
|
@ -89,7 +89,7 @@ class Upsample(torch.nn.Module):
|
||||||
self.mode = mode
|
self.mode = mode
|
||||||
|
|
||||||
def forward(self, x):
|
def forward(self, x):
|
||||||
return torch.nn.functional.interpolate(x, scale_factor=self.scale_factor, mode=self.mode)
|
return nn.functional.interpolate(x, scale_factor=self.scale_factor, mode=self.mode)
|
||||||
|
|
||||||
|
|
||||||
class YOLOLayer(nn.Module):
|
class YOLOLayer(nn.Module):
|
||||||
|
|
Loading…
Reference in New Issue