Enable method config registration from env variable (#1869)

This commit is contained in:
Jonáš Kulhánek authored and GitHub committed 2023-05-04 20:53:52 +02:00
1 parent 9ace02b3ae
commit 971c9eb307
3 files changed
+48

No files matched your search

+6
View File
@@ -70,6 +70,12 @@ finally run the following to register the method,
pip install -e .
```
When developing a new method you don't always want to install your code as a package.
Instead, you may use the `NERFSTUDIO_METHOD_CONFIGS` environment variable to temporarily register your custom method.
```
export NERFSTUDIO_METHOD_CONFIGS="my-method=my_method.my_config:MyMethod"
```
## Running custom method
After registering your method you should be able to run the method with,