Browse Source

programmatically generates sha256 hashes

niksirbi 1 month ago
parent
commit
db525cd648
4 changed files with 8 additions and 0 deletions
  1. 0 0
      frames_hashes.txt
  2. 8 0
      get_sha256_hashes.py
  3. 0 0
      poses_hashes.txt
  4. 0 0
      videos_hashes.txt

frames_registry.txt → frames_hashes.txt


+ 8 - 0
get_sha256_hashes.py

@@ -0,0 +1,8 @@
+"""Compute sha256 hashes for all files"""
+
+import pooch
+
+folders = ["poses", "frames", "videos"]
+
+for folder in folders:
+    pooch.make_registry(folder, f"{folder}_hashes.txt")

poses_registry.txt → poses_hashes.txt


videos_registry.txt → videos_hashes.txt