krrish94 / nerf-pytorch

A PyTorch re-implementation of Neural Radiance Fields
Other
872 stars 123 forks source link

A small bug #26

Open OshriHalimi opened 3 years ago

OshriHalimi commented 3 years ago

In case that half_res=False, the numpy array created in this line:

https://github.com/krrish94/nerf-pytorch/blob/a14357da6cada433d28bf11a45c7bcaace76c06e/nerf/load_blender.py#L71

is never converted to a torch tensor, resulting in a runtime error.