Skip to content

Commit

Permalink
pruned unrelated comments
Browse files Browse the repository at this point in the history
  • Loading branch information
MiscellaneousStuff committed May 5, 2022
1 parent 48b6623 commit 0b9301b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions model.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,16 +110,12 @@ def __init__(self, n_cnn_layers, n_rnn_layers, rnn_dim, n_class, n_feats, stride
)

def forward(self, x):
# print("PRE MODEL INPUT SHAPE:", x.shape)
x = self.cnn(x)
x = self.rescnn_layers(x)
# print("POST MODEL INPUT SHAPE:", x.shape)
sizes = x.size()
x = x.view(sizes[0], sizes[1] * sizes[2], sizes[3]) # (batch, feature, time)
# print("VIEWED MODEL INPUT SHAPE:", x.shape)
x = x.transpose(1, 2) # (batch, time, feature)
x = self.fully_connected(x)
x = self.birnn_layers(x)
x = self.classifier(x)
# print("POST-SEQ SHAPE:", x.shape)
return x
Empty file added train.py
Empty file.

0 comments on commit 0b9301b

Please sign in to comment.