Skip to content

Commit

Permalink
Update sampler.py
Browse files Browse the repository at this point in the history
fix import
  • Loading branch information
rromb authored Nov 16, 2022
1 parent 5a00c4f commit 21f890f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ldm/models/diffusion/dpm_solver/sampler.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import torch

This comment was marked as spam.

Copy link
@DAMACA69

DAMACA69 Dec 8, 2022

Rock album cover with realistic acid demons and sea monsters and abyssal fish with sharp and bizarre teeth, very artistic, as if it were with high quality HD oil and that the album has the title of ''DAMACA'' and at the bottom say ''In the Duality of Irony''


from .solver import NoiseScheduleVP, model_wrapper, DPM_Solver
from .dpm_solver import NoiseScheduleVP, model_wrapper, DPM_Solver


class DPMSolverSampler(object):
Expand Down Expand Up @@ -79,4 +79,4 @@ def sample(self,
dpm_solver = DPM_Solver(model_fn, ns, predict_x0=True, thresholding=False)
x = dpm_solver.sample(img, steps=S, skip_type="time_uniform", method="multistep", order=2, lower_order_final=True)

return x.to(device), None
return x.to(device), None

2 comments on commit 21f890f

@DAMACA69

This comment was marked as spam.

@Hein13579
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.