zju3dv / Vox-Fusion

Code for "Dense Tracking and Mapping with Voxel-based Neural Implicit Representation", ISMAR 2022
266 stars 24 forks source link

why need repeated "weights" in dictionary? #50

Open LZL-CS opened 9 months ago

LZL-CS commented 9 months ago

https://github.com/zju3dv/Vox-Fusion/blob/282768d4c121ee41c6696dc123f3805482abdeeb/src/variations/render_helpers.py#L315

 return {
        "weights": weights,
        "color": rgb,
        "depth": depth,
        "z_vals": z_vals,
        "sdf": sdf,
        "weights": weights,
        "ray_mask": ray_mask,
        "raw": z_min if return_raw else None
    }