add "max_sequence_length": model_config.max_text_seq_length, (#15)

Co-authored-by: --unset <--unset>
This commit is contained in:
glide-theand--unset authored and GitHub committed 2024-10-10 17:08:40 +05:30
1 parent 00f7519f0e
commit 2a70b16d3c
3 files changed
+3

No files matched your search

@@ -839,6 +839,7 @@ def main(args):
"use_dynamic_cfg": args.use_dynamic_cfg,
"height": args.height,
"width": args.width,
"max_sequence_length": model_config.max_text_seq_length,
}
log_validation(
+1
View File
@@ -808,6 +808,7 @@ def main(args):
"use_dynamic_cfg": args.use_dynamic_cfg,
"height": args.height,
"width": args.width,
"max_sequence_length": model_config.max_text_seq_length,
}
log_validation(
+1
View File
@@ -772,6 +772,7 @@ def main(args):
"use_dynamic_cfg": args.use_dynamic_cfg,
"height": args.height,
"width": args.width,
"max_sequence_length": model_config.max_text_seq_length,
}
log_validation(