mirror of
https://github.com/kohya-ss/sd-scripts.git
synced 2026-04-18 01:30:02 +00:00
chore: add parameters wandb ai
This commit is contained in:
@@ -3081,6 +3081,7 @@ def prepare_accelerator(args: argparse.Namespace):
|
|||||||
os.environ["WANDB_DIR"] = logging_dir
|
os.environ["WANDB_DIR"] = logging_dir
|
||||||
if args.wandb_api_key is not None:
|
if args.wandb_api_key is not None:
|
||||||
wandb.login(key=args.wandb_api_key)
|
wandb.login(key=args.wandb_api_key)
|
||||||
|
wandb.init(project="Stable Diffision Training", name=args.output_name, config=args)
|
||||||
|
|
||||||
accelerator = Accelerator(
|
accelerator = Accelerator(
|
||||||
gradient_accumulation_steps=args.gradient_accumulation_steps,
|
gradient_accumulation_steps=args.gradient_accumulation_steps,
|
||||||
|
|||||||
Reference in New Issue
Block a user