Skip to content

Commit

Permalink
linter
Browse files Browse the repository at this point in the history
  • Loading branch information
Itai Gat committed Dec 15, 2024
1 parent 34e0f7d commit 14f99df
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion examples/image/training/eval_loop.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,10 @@ 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, source_distribution_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 14f99df

Please sign in to comment.