thomasw21
commited on
Commit
·
da3e34c
1
Parent(s):
1d9efb0
Debug proc
Browse files
pmd.py
CHANGED
|
@@ -93,6 +93,7 @@ class DatasetsLoader(BaseLoader):
|
|
| 93 |
self.dataset_name = dataset_name
|
| 94 |
self.config_name = config_name
|
| 95 |
self.num_proc = num_proc
|
|
|
|
| 96 |
# # In order to not have memory explode we define a batch size per proc
|
| 97 |
# self.batch_size_per_proc = batch_size // self.num_proc
|
| 98 |
# assert self.batch_size_per_proc >= 1
|
|
|
|
| 93 |
self.dataset_name = dataset_name
|
| 94 |
self.config_name = config_name
|
| 95 |
self.num_proc = num_proc
|
| 96 |
+
print(self.num_proc)
|
| 97 |
# # In order to not have memory explode we define a batch size per proc
|
| 98 |
# self.batch_size_per_proc = batch_size // self.num_proc
|
| 99 |
# assert self.batch_size_per_proc >= 1
|