Fix custom dataparser docs (#1991)

Update new_methods.md
This commit is contained in:
Matthew Tancik authored and GitHub committed 2023-05-24 11:18:35 -07:00
1 parent eaa4f91913
commit 76165fcd02
1 file changed
+1 -1
+1 -1
View File
@@ -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.