Open-Sora: Democratizing Efficient Video Production for All
Python
update scoring
xyupeng72de650382a7
diff --git a/tools/scoring/optical_flow/inference.py b/tools/scoring/optical_flow/inference.pyindex be33822..62f887c 100644--- a/tools/scoring/optical_flow/inference.py+++ b/tools/scoring/optical_flow/inference.py@@ -97,7 +97,7 @@ def main():)model.load_state_dict(ckpt['model'])model = model.to(device)- model = torch.nn.DataParallel(model)+ # model = torch.nn.DataParallel(model)# build datasetdataset = VideoTextDataset(meta_path=meta_path, frame_inds=[0, 10, 20, 30])