Skip to content

Commit

Permalink
fix ModelNet10 download
Browse files Browse the repository at this point in the history
  • Loading branch information
Lars Kuehmichel committed Jan 15, 2024
1 parent 8b570b7 commit 9b0881c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/datasets/modelnet10.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def download(self):

print(f"Cleaning up hierarchy...")
# structure is now root/ModelNet10/..., remove intermediate ModelNet10 folder
for path in target.glob("archive/*"):
for path in target.glob("ModelNet10/*"):
shutil.move(str(path), str(self.root))

shutil.rmtree(str(self.root / "__MACOSX"))
Expand Down

0 comments on commit 9b0881c

Please sign in to comment.