aniweeb1 opened issue ecker/ai-voice-cloning#63

aniweeb1
Sun, 05 Mar 2023 16:22:27 +0000

63#Google Collab Training Issue#

[Training] [2023-03-05T15:56:00.897640] Traceback (most recent call last):
[Training] [2023-03-05T15:56:00.897703] File "./src/train.py", line 93, in <module>
[Training] [2023-03-05T15:56:00.897755] train(args.opt, args.launcher)
[Training] [2023-03-05T15:56:00.897804] File "./src/train.py", line 80, in train
[Training] [2023-03-05T15:56:00.897852] trainer.do_training()
[Training] [2023-03-05T15:56:00.897901] File "/content/ai-voice-cloning/./dlas/codes/train.py", line 331, in do_training
[Training] [2023-03-05T15:56:00.897948] self.do_step(train_data)
[Training] [2023-03-05T15:56:00.897995] File "/content/ai-voice-cloning/./dlas/codes/train.py", line 212, in do_step
[Training] [2023-03-05T15:56:00.898043] gradient_norms_dict = self.model.optimize_parameters(self.current_step, return_grad_norms=will_log)
[Training] [2023-03-05T15:56:00.898091] File "/content/ai-voice-cloning/./dlas/codes/trainer/ExtensibleTrainer.py", line 303, in optimize_parameters
[Training] [2023-03-05T15:56:00.898188] ns = step.do_forward_backward(state, m, step_num, train=train_step, no_ddp_sync=(m+1 < self.batch_factor))
[Training] [2023-03-05T15:56:00.898249] File "/content/ai-voice-cloning/./dlas/codes/trainer/steps.py", line 220, in do_forward_backward
[Training] [2023-03-05T15:56:00.898298] local_state[k] = v[grad_accum_step]
[Training] [2023-03-05T15:56:00.898347] IndexError: list index out of range
[Training] [2023-03-05T15:56:14.001221] ./train.sh: line 13: deactivate: command not found

Not quite sure what happened here but I can do everything up until I try tranining a voice set I have.