"src/vscode:/vscode.git/clone" did not exist on "7c05b975b79df39875959494020e4b5eedd2c4c8"
Unverified Commit 30f2e9bd authored by hlky's avatar hlky Committed by GitHub
Browse files

Convert `sigmas` to `np.array` in FlowMatch set_timesteps (#10088)

parent 2312b27f
......@@ -207,6 +207,7 @@ class FlowMatchEulerDiscreteScheduler(SchedulerMixin, ConfigMixin):
sigmas = timesteps / self.config.num_train_timesteps
else:
sigmas = np.array(sigmas).astype(np.float32)
num_inference_steps = len(sigmas)
self.num_inference_steps = num_inference_steps
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment