Fixed a masking problem
This commit is contained in:
parent
80fd7fd600
commit
4968d79403
@ -157,7 +157,7 @@ class Batcher:
|
||||
X = []
|
||||
Y = []
|
||||
for rdf in batch["RDFs"]:
|
||||
x, y = self._masker.mask_sequence(rdf)
|
||||
x, y = self._masker.mask_sequence(rdf[:self.__max_length])
|
||||
X.append(x)
|
||||
Y.append(y)
|
||||
return self.__normalization(X, Y)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user