mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-18 13:53:44 +08:00
Enable method config registration from env variable (#1869)
This commit is contained in:
1 parent
9ace02b3ae
commit
971c9eb307
3 files changed
+48
No files matched your search
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user