thomasw21
commited on
Commit
·
004daf7
1
Parent(s):
59af408
Maybe fix
Browse files
pmd.py
CHANGED
|
@@ -137,7 +137,7 @@ class DatasetsLoader(BaseLoader):
|
|
| 137 |
assert self.num_proc > 1
|
| 138 |
with Pool(self.num_proc) as pool:
|
| 139 |
rows_casted_pmd_features = pool.imap(
|
| 140 |
-
partial(self._generate_rows_casted_pmd_features,
|
| 141 |
range(0, dataset_size, self.batch_size),
|
| 142 |
chunksize=10
|
| 143 |
)
|
|
|
|
| 137 |
assert self.num_proc > 1
|
| 138 |
with Pool(self.num_proc) as pool:
|
| 139 |
rows_casted_pmd_features = pool.imap(
|
| 140 |
+
partial(self._generate_rows_casted_pmd_features, dataset),
|
| 141 |
range(0, dataset_size, self.batch_size),
|
| 142 |
chunksize=10
|
| 143 |
)
|