File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -479,7 +479,7 @@ def convert_prediction_to_x(
479479 if self .prediction_type == "v" :
480480 # convert v into x
481481 x = alpha_t * z - sigma_t * pred
482- elif self .prediction_type == "e " :
482+ elif self .prediction_type == "eps " :
483483 # convert noise prediction into x
484484 x = (z - sigma_t * pred ) / alpha_t
485485 elif self .prediction_type == "x" :
@@ -553,8 +553,8 @@ def _forward(
553553 ) -> Tensor | tuple [Tensor , Tensor ]:
554554 integrate_kwargs = (
555555 {
556- "start_time" : 1 .0 ,
557- "stop_time" : 0 .0 ,
556+ "start_time" : 0 .0 ,
557+ "stop_time" : 1 .0 ,
558558 }
559559 | self .integrate_kwargs
560560 | kwargs
@@ -602,8 +602,8 @@ def _inverse(
602602 ) -> Tensor | tuple [Tensor , Tensor ]:
603603 integrate_kwargs = (
604604 {
605- "start_time" : 0 .0 ,
606- "stop_time" : 1 .0 ,
605+ "start_time" : 1 .0 ,
606+ "stop_time" : 0 .0 ,
607607 }
608608 | self .integrate_kwargs
609609 | kwargs
You can’t perform that action at this time.
0 commit comments