frozoul / 4K-NeRF

Official implementation of arxiv paper "4K-NeRF: High Fidelity Neural Radiance Fields at Ultra High Resolutions"
379 stars 19 forks source link

UnboundLocalError: local variable 'optimizer_d' referenced before assignment #17

Open lht-21836918 opened 1 year ago

lht-21836918 commented 1 year ago

Traceback (most recent call last): File "run_sr.py", line 1292, in train(args, cfg, data_dict) File "run_sr.py", line 1221, in train scene_rep_reconstruction_sr_patch( File "run_sr.py", line 1062, in scene_rep_reconstruction_sr_patch for i_opt_sr, param_d in enumerate(optimizer_d.param_groups): UnboundLocalError: local variable 'optimizer_d' referenced before assignment How to solve this problem ?