Skip to content

Commit

Permalink
Fix var name (huggingface#119)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrm8488 authored Jul 21, 2022
1 parent a487b50 commit 3247ead
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/diffusers/hub_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ def create_model_card(args, model_name):
adam_beta1=args.adam_beta1 if hasattr(args, "adam_beta1") else None,
adam_beta2=args.adam_beta2 if hasattr(args, "adam_beta2") else None,
adam_weight_decay=args.adam_weight_decay if hasattr(args, "adam_weight_decay") else None,
adam_epsilon=args.adam_epsilon if hasattr(args, "adam_weight_decay") else None,
adam_epsilon=args.adam_epsilon if hasattr(args, "adam_epsilon") else None,
lr_scheduler=args.lr_scheduler if hasattr(args, "lr_scheduler") else None,
lr_warmup_steps=args.lr_warmup_steps if hasattr(args, "lr_warmup_steps") else None,
ema_inv_gamma=args.ema_inv_gamma if hasattr(args, "ema_inv_gamma") else None,
Expand Down

0 comments on commit 3247ead

Please sign in to comment.