factor-fields
factor-fields copied to clipboard
args is not defined in train_across_scene.py
as titled, train_across_scene.py:L212 is:
if args.render_train:
...
But args is not defined.
Ah, thank you! Yeah, it should be "cfg. render_train:", will fix it
Thanks for your response. But it seems that the L215 has an error as well:
PSNRs_test = evaluation(train_dataset,model, args, renderer, f'{logfolder}/imgs_train_all/',
N_vis=-1, N_samples=-1, white_bg = white_bg, ndc_ray=ndc_ray,device=device)
I guess args should not be here, and renderer is also not defined._
Ah okay, thanks!