Fictionarry/ER-NeRF

'eye_att' referenced before assignment

lcyuanjiang opened this issue · 2 comments

'eye_att' referenced before assignment

Add eye_att = torch.tensor([])

Add eye_att = torch.tensor([])

will new error:

File "/root/_ai/ER-NeRF/nerf_triplane/utils.py", line 730, in train_step
eye_mask = data['eye_mask'] # [B, N]
KeyError: 'eye_mask'