fix log leaking color
This commit is contained in:
parent
e2fd45737d
commit
15187ae2e2
2
train.py
2
train.py
|
@ -537,7 +537,7 @@ def main(args):
|
|||
logging.info(f"{Fore.CYAN} * Training Text Encoder Only *{Style.RESET_ALL}")
|
||||
if text_encoder_lr_scale != 1:
|
||||
logging.warning(f"{Fore.YELLOW} * Ignoring text_encoder_lr_scale {text_encoder_lr_scale} and using the "
|
||||
f"Unet LR {curr_lr} for the text encoder instead.")
|
||||
f"Unet LR {curr_lr} for the text encoder instead *{Style.RESET_ALL}")
|
||||
params_to_train = itertools.chain(text_encoder.parameters())
|
||||
else:
|
||||
logging.info(f"{Fore.CYAN} * Training Text and Unet *{Style.RESET_ALL}")
|
||||
|
|
Loading…
Reference in New Issue