Template repository for creating and registering methods in Nerfstudio.
We recommend the following file structure:
βββ my_method
β βββ __init__.py
β βββ my_config.py
β βββ custom_pipeline.py [optional]
β βββ custom_model.py [optional]
β βββ custom_field.py [optional]
β βββ custom_datamanger.py [optional]
β βββ custom_dataparser.py [optional]
β βββ ...
βββ pyproject.toml
Ensure that nerfstudio has been installed according to the instructions. Clone or fork this repository and run the commands:
conda activate nerfstudio
cd nerfstudio-method-template/
pip install -e .
ns-install-cli
This repository creates a new Nerfstudio method named "method-template". To train with it, run the command:
ns-train method-template --data [PATH]