zju3dv / ENeRF

SIGGRAPH Asia 2022: Code for "Efficient Neural Radiance Fields for Interactive Free-viewpoint Video"
https://zju3dv.github.io/enerf
Other
413 stars 28 forks source link

AttributeError: frames #21

Closed ds22058 closed 1 year ago

ds22058 commented 1 year ago

Great work! I met a problem when I using the flower in llff dataset to run gui_human.py with parameters '--cfg_file configs/enerf/llff/flower.yaml'. The error is: Traceback (most recent call last): File "D:\pycharm\ENeRF\gui_human.py", line 380, in main() File "D:\pycharm\ENeRF\gui_human.py", line 231, in main rend = Renderer() # prepare network and dataloader File "D:\pycharm\ENeRF\gui_human.py", line 50, in init self.frame_start = cfg.test_dataset.frames[0] File "D:\pycharm\ENeRF\lib\config\yacs.py", line 115, in getattr raise AttributeError(name) AttributeError: frames It seems like it don't have a 'frame' in test_dataset

image

Could you please help me with this problem? Thanks in advance!

haotongl commented 1 year ago

Hello, thank you for your attention! The script gui_human.py is designed for dynamic scenes (ZJUMoCap). The variable "frames" represents the number of the selected frames for the dynamic scene.