mirror of
https://github.com/storytold/FineTrainers-Conditioning.git
synced 2026-10-09 00:09:45 +00:00
add "max_sequence_length": model_config.max_text_seq_length, (#15)
Co-authored-by: --unset <--unset>
This commit is contained in:
@@ -839,6 +839,7 @@ def main(args):
|
|||||||
"use_dynamic_cfg": args.use_dynamic_cfg,
|
"use_dynamic_cfg": args.use_dynamic_cfg,
|
||||||
"height": args.height,
|
"height": args.height,
|
||||||
"width": args.width,
|
"width": args.width,
|
||||||
|
"max_sequence_length": model_config.max_text_seq_length,
|
||||||
}
|
}
|
||||||
|
|
||||||
log_validation(
|
log_validation(
|
||||||
|
|||||||
@@ -808,6 +808,7 @@ def main(args):
|
|||||||
"use_dynamic_cfg": args.use_dynamic_cfg,
|
"use_dynamic_cfg": args.use_dynamic_cfg,
|
||||||
"height": args.height,
|
"height": args.height,
|
||||||
"width": args.width,
|
"width": args.width,
|
||||||
|
"max_sequence_length": model_config.max_text_seq_length,
|
||||||
}
|
}
|
||||||
|
|
||||||
log_validation(
|
log_validation(
|
||||||
|
|||||||
@@ -772,6 +772,7 @@ def main(args):
|
|||||||
"use_dynamic_cfg": args.use_dynamic_cfg,
|
"use_dynamic_cfg": args.use_dynamic_cfg,
|
||||||
"height": args.height,
|
"height": args.height,
|
||||||
"width": args.width,
|
"width": args.width,
|
||||||
|
"max_sequence_length": model_config.max_text_seq_length,
|
||||||
}
|
}
|
||||||
|
|
||||||
log_validation(
|
log_validation(
|
||||||
|
|||||||
Reference in New Issue
Block a user