First check in pipelines where "encode_a" and "use_mask" is applied https://github.com/rover-xingyu/Ha-NeRF/blob/main/models/networks.py https://github.com/rover-xingyu/Ha-NeRF/blob/main/train_mask_grid_sample.py#L36 https://github.com/rover-xingyu/Ha-NeRF/blob/main/eval.py#L131 https://github.com/rover-xingyu/Ha-NeRF/blob/main/hallucinate.py#L178 Then re-implement a new case (take vanilla nerf as example)? Replacing the embeddings encoding and implicit mask https://github.com/dberga/nerfstudio/blob/main/nerfstudio/models/vanilla_nerf.py https://github.com/dberga/nerfstudio/blob/main/nerfstudio/fields/vanilla_nerf_field.py https://github.com/dberga/nerfstudio/blob/main/nerfstudio/field_components/embedding.py https://github.com/dberga/nerfstudio/blob/main/nerfstudio/field_components/encodings.py After including the model in https://github.com/dberga/nerfstudio/blob/main/nerfstudio/models, you must include the model instruction name for "ns-train *model*" in https://github.com/dberga/nerfstudio/blob/main/nerfstudio/configs/method_configs.py
First check in pipelines where "encode_a" and "use_mask" is applied
https://github.com/rover-xingyu/Ha-NeRF/blob/main/models/networks.py
https://github.com/rover-xingyu/Ha-NeRF/blob/main/train_mask_grid_sample.py#L36
https://github.com/rover-xingyu/Ha-NeRF/blob/main/eval.py#L131
https://github.com/rover-xingyu/Ha-NeRF/blob/main/hallucinate.py#L178
Then re-implement a new case (take vanilla nerf as example)? Replacing the embeddings encoding and implicit mask
https://github.com/dberga/nerfstudio/blob/main/nerfstudio/models/vanilla_nerf.py
https://github.com/dberga/nerfstudio/blob/main/nerfstudio/fields/vanilla_nerf_field.py
https://github.com/dberga/nerfstudio/blob/main/nerfstudio/field_components/embedding.py
https://github.com/dberga/nerfstudio/blob/main/nerfstudio/field_components/encodings.py
After including the model in https://github.com/dberga/nerfstudio/blob/main/nerfstudio/models, you must include the model instruction name for "ns-train model" in https://github.com/dberga/nerfstudio/blob/main/nerfstudio/configs/method_configs.py