when I try to run train_control.py , there is a problem in log_validation
In README_TRAIN_CONTROL.md , there is no args.train_mode
but in the func log_validation
for i in range(len(args.validation_prompts)):
with torch.no_grad():
if args.train_mode != "normal":
how can I revise the code and set args.train_mode ?
when I try to run train_control.py , there is a problem in log_validation In README_TRAIN_CONTROL.md , there is no args.train_mode but in the func log_validation
for i in range(len(args.validation_prompts)): with torch.no_grad(): if args.train_mode != "normal":
how can I revise the code and set args.train_mode ?