Skip to content

Open-Sora: Democratizing Efficient Video Production for All

Python

fixed aesthetic scoring (#33)

Frank Lee34b88c526017
diff --git a/tools/scoring/aesthetic/inference.py b/tools/scoring/aesthetic/inference.py
index 243e765..c417969 100644
--- a/tools/scoring/aesthetic/inference.py
+++ b/tools/scoring/aesthetic/inference.py
@@ -140,9 +140,6 @@ def main(args):
with tqdm(dataloader, position=rank, desc=f"Data Parallel Rank {rank}") as t:
for idx, batch in enumerate(t):
- if idx == 12:
- break
-
image_indices = batch["index"]
images = batch["images"].to(device, non_blocking=True)
B = images.shape[0]