add seperator (#167)

This commit is contained in:
Victor Yang
2018-12-03 18:41:32 -05:00
committed by GitHub
parent f510fa6bae
commit 56e29c886e
+2 -2
View File
@@ -77,8 +77,8 @@ class VDPWIModel(nn.Module):
def create_pad_cube(self, sent1, sent2):
pad_cube = []
sent1_lengths = [len(s.split()) for s in sent1]
sent2_lengths = [len(s.split()) for s in sent2]
sent1_lengths = [len(s.split(" ")) for s in sent1]
sent2_lengths = [len(s.split(" ")) for s in sent2]
max_len1 = max(sent1_lengths)
max_len2 = max(sent2_lengths)