mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-19 22:25:44 +08:00
Unify dataparser and method discovery (#2398)
* Unify external dataparser registration * Unify dataparser and method discovery
This commit is contained in:
1 parent
85ef567682
commit
6af0bcfbf8
4 files changed
+127
-4
No files matched your search
@@ -132,6 +132,15 @@ finally run the following to register the dataparser.
|
||||
pip install -e .
|
||||
```
|
||||
|
||||
Similarly to the method develomement, you can also use environment variables to register dataparsers.
|
||||
Use the `NERFSTUDIO_DATAPARSER_CONFIGS` environment variable:
|
||||
|
||||
```
|
||||
export NERFSTUDIO_DATAPARSER_CONFIGS="my-dataparser=my_package.my_config:MyDataParser"
|
||||
```
|
||||
|
||||
Same as with custom methods, `NERFSTUDIO_DATAPARSER_CONFIGS` environment variable additionally accepts a function or derived class to temporarily register your custom method.
|
||||
|
||||
## Running custom method
|
||||
|
||||
After registering your method you should be able to run the method with,
|
||||
|
||||
Reference in new issue
Block a user