Open-Sora: Democratizing Efficient Video Production for All
Python
assert remove
Tianyi659e054e3ae5
diff --git a/opensora/schedulers/rf/rectified_flow.py b/opensora/schedulers/rf/rectified_flow.pyindex c4ad216..05357ac 100644--- a/opensora/schedulers/rf/rectified_flow.py+++ b/opensora/schedulers/rf/rectified_flow.py@@ -25,7 +25,6 @@ class RFlowScheduler:Arguments format copied from opensora/schedulers/iddpm/gaussian_diffusion.py/training_lossesNote: t is int tensor and should be rescaled from [0, num_timesteps-1] to [1,0]'''- assert weights is None, "weights not support for rectified flow yet"if model_kwargs is None:model_kwargs = {}