Skip to content
Snippets Groups Projects
Commit a8dabc97 authored by kreuzer's avatar kreuzer
Browse files

Aktualisieren structures.py

parent f84c592b
No related branches found
No related tags found
No related merge requests found
......@@ -134,6 +134,12 @@ class PreprocessedDataSet:
dp = self.__getitem__(i)
dp.compute_sent_vecs(model)
torch.save(dp, self.path/str(i))
def first(self, k):
self.length = k
return self
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment