mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-18 22:04:02 +08:00
Add Comet Logging (#2431)
* initial commit * fixed naming * added comet_ml as depedency * added comet to docs * Update custom_gui.md * Update models.md * Update benchmarking.md * added Comet to ReadMe * added decorator * fixed link and added comet examples * fixed link and added comet example * fixed format * fixed type ignore error * fixed readme typo * fixed typo
This commit is contained in:
1 parent
805e6e702d
commit
7269a7ee16
10 files changed
+57
-26
No files matched your search
@@ -16,7 +16,7 @@ Simply replace the arguments in brackets with the correct arguments.
|
||||
|
||||
- `-m {METHOD_NAME}`: Name of the method you want to benchmark (e.g. `nerfacto`, `mipnerf`).
|
||||
- `-s`: Launch a single job per GPU.
|
||||
- `-v {VIS}`: Use another visualization than wandb, which is the default. Only other option is tensorboard.
|
||||
- `-v {VIS}`: Use another visualization than wandb, which is the default. Other options are comet & tensorboard.
|
||||
- `{GPU_LIST}`: (optional) Specify the list of gpus you want to use on your machine space separated. for instance, if you want to use GPU's 0-3, you will need to pass in `0 1 2 3`. If left empty, the script will automatically find available GPU's and distribute training jobs on the available GPUs.
|
||||
|
||||
:::{admonition} Tip
|
||||
|
||||
@@ -55,7 +55,7 @@ class Model:
|
||||
"""Process a RayBundle object and return RayOutputs describing quanties for each ray."""
|
||||
|
||||
def get_metrics_dict(self, outputs, batch):
|
||||
"""Returns metrics dictionary which will be plotted with wandb or tensorboard."""
|
||||
"""Returns metrics dictionary which will be plotted with comet, wandb or tensorboard."""
|
||||
|
||||
def get_loss_dict(self, outputs, batch, metrics_dict=None):
|
||||
"""Returns a dictionary of losses to be summed which will be your loss."""
|
||||
|
||||
@@ -59,7 +59,7 @@ class MyModel(Model):
|
||||
|
||||
|
||||
**Writing to the element**
|
||||
You can write to a viewer element in Python, which provides a convenient way to track values in your code without the need for wandb/tensorboard or relying on `print` statements.
|
||||
You can write to a viewer element in Python, which provides a convenient way to track values in your code without the need for comet/wandb/tensorboard or relying on `print` statements.
|
||||
|
||||
```python
|
||||
self.custom_value.value = x
|
||||
|
||||
Reference in new issue
Block a user