More working than not
Not sure if validation works, call it a day
This commit is contained in:
parent
4a03211c83
commit
12aabb0d3f
10 changed files with 116 additions and 105 deletions
|
|
@ -24,6 +24,7 @@ class STNet(nn.Module):
|
|||
_dummy_size_ = input_size
|
||||
|
||||
# shape checking
|
||||
print("STN: dummy_size {}".format(_dummy_size_))
|
||||
_dummy_x_ = torch.zeros(_dummy_size_)
|
||||
|
||||
# (3.1) Spatial transformer localization-network
|
||||
|
|
@ -81,6 +82,7 @@ class STNet(nn.Module):
|
|||
|
||||
|
||||
def forward(self, x, t):
|
||||
# print("STN: {} | {}".format(x.shape, t.shape))
|
||||
# transform the input, do nothing else
|
||||
return self.stn(x, t)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue