From 76165fcd0264195449a72be3fa440e58965f4d15 Mon Sep 17 00:00:00 2001 From: Matthew Tancik Date: Wed, 24 May 2023 11:18:35 -0700 Subject: [PATCH] Fix custom dataparser docs (#1991) Update new_methods.md --- docs/developer_guides/new_methods.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/developer_guides/new_methods.md b/docs/developer_guides/new_methods.md index 095778b9a..f0b3a51d7 100644 --- a/docs/developer_guides/new_methods.md +++ b/docs/developer_guides/new_methods.md @@ -90,7 +90,7 @@ You can declare the dataparser in the same config file: from nerfstudio.plugins.registry_dataparser import DataParserSpecification from my_method.custom_dataparser import CustomDataparserConfig -MyDataparser = DataParserSpecification(config=CustomDataparserConfig) +MyDataparser = DataParserSpecification(config=CustomDataparserConfig()) ``` Then add the following lines in the `pyproject.toml` file, where the entrypoint to the new dataparser is set.