Skip to content

Commit eeacb0b

Browse files
committed
Fix ABO tarfile extraction
1 parent 55a8e81 commit eeacb0b

File tree

1 file changed

+1
-1
lines changed
  • dataset_toolkits/datasets

1 file changed

+1
-1
lines changed

dataset_toolkits/datasets/ABO.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def download(metadata, output_dir, **kwargs):
3535
downloaded = {}
3636
metadata = metadata.set_index("file_identifier")
3737
with tarfile.open(os.path.join(output_dir, 'raw', 'abo-3dmodels.tar')) as tar:
38-
with ThreadPoolExecutor(max_workers=os.cpu_count()) as executor, \
38+
with ThreadPoolExecutor(max_workers=1) as executor, \
3939
tqdm(total=len(metadata), desc="Extracting") as pbar:
4040
def worker(instance: str) -> str:
4141
try:

0 commit comments

Comments
 (0)