add seperator (#167)

This commit is contained in:
Victor Yang authored and GitHub committed 2018-12-03 18:41:32 -05:00
1 parent f510fa6bae
commit 56e29c886e
1 file changed
+2 -2
+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)