-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Description
Hi, I was trying to do adaptation using 5s training data, but the bug was like:
Training progress: 50%|########################################## | 5000/10000 [02:07<02:14, 37.20it/s, Loss=0.00766, Mouth=10.6-25.0]Traceback (most recent call last):
File "InsTaG-main/train_face.py", line 450, in <module>
training(lp.extract(args), op.extract(args), pp.extract(args), args.test_iterations, args.save_iterations, args.checkpoint_iterations, args.start_checkpoint, args.debug_from, args.long, args.pretrain_path)
File "InsTaG-main/train_face.py", line 199, in training
loss += 0.01 * (1 - viewpoint_cam.talking_dict["normal"].cuda() * render_pkg["normal"]).sum(0)[head_mask^mouth_mask].mean()
KeyError: 'normal'
I performed 'data_utils/split.py' and set train_val_split = 25 * 5. In the adaptation script, I set n_views=-1
For all the test case that I tried, I noticed that this error only happens when training progress is 50%.
If I increase the n_views to 250, the error won't happen.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels