Skip to content

Commit

Permalink
mkdir -p
Browse files Browse the repository at this point in the history
  • Loading branch information
endast committed Apr 25, 2024
1 parent 4e09428 commit dbd7a3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deeprvat/deeprvat/associate.py
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ def compute_burdens_(
batch_size = data_config["dataloader_config"]["batch_size"]
with torch.no_grad():
burdens_chunk_path = Path(cache_dir) / "chunks" / f"chunk_{chunk}"
burdens_chunk_path.mkdir(exist_ok=True)
burdens_chunk_path.mkdir(exist_ok=True, parents=True)
logger.info(f"Writing chunks to {burdens_chunk_path}")

for i, batch in tqdm(
Expand Down

0 comments on commit dbd7a3e

Please sign in to comment.