Skip to content

Commit

Permalink
Fix got an unexpected keyword argument in examples/image/training/eva…
Browse files Browse the repository at this point in the history
…l_loop.py in MixtureDiscreteEulerSolver.__init__
  • Loading branch information
ashaw596 authored Dec 15, 2024
1 parent 885d166 commit 3ce3e32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/image/training/eval_loop.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def eval_model(
p = torch.zeros(size=[257], dtype=torch.float32, device=device)
p[256] = 1.0
solver = MixtureDiscreteEulerSolver(
model=cfg_scaled_model, path=path, vocabulary_size=257, p=p
model=cfg_scaled_model, path=path, vocabulary_size=257, source_distribution_p=p
)
else:
solver = ODESolver(velocity_model=cfg_scaled_model)
Expand Down

0 comments on commit 3ce3e32

Please sign in to comment.