jchibane / srf

Stereo Radiance Fields (SRF) - Codebase
124 stars 18 forks source link

name 'images' is not defined #8

Open derrick-xwp opened 3 years ago

derrick-xwp commented 3 years ago

File "E:\OTHERS_WORKS\srf\srf\dataloader.py", line 101, in getitem imgs, poses, poses_idx = DTU.load_scan_data(sample, self.load_mode, self.num_reference_views + 1, self.cfg, self.load_specific_reference_poses, self.load_fixed, self.shuffle) File "E:\OTHERS_WORKS\srf\srf\data\load_DTU.py", line 59, in load_scan_data poses_idx = random.sample(images[scan],num_views) NameError: name 'images' is not defined

prraoo commented 3 years ago

@derrick-xwp did you happen to resolve this issue? I am curious since I encounter the same bug.