Skip to content

Commit

Permalink
fix: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
borisdayma committed Feb 7, 2022
1 parent 44b7c3e commit 68cc185
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dalle_mini/model/modeling.py
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ def __init__(
# init weights on CPU
init_fn = jax.jit(self.init_weights, static_argnums=(1,), backend="cpu")
else:
init_fn = self.init_weigths
init_fn = self.init_weights

# randomly initialized parameters
random_params = self.init_weights(self.key, input_shape)
Expand Down

0 comments on commit 68cc185

Please sign in to comment.