nerfbaselines.logging¶
- class nerfbaselines.logging.BaseLogger(*args, **kwargs)[source]¶
Bases:
Logger
- add_embedding(tag: str, embeddings: ndarray, step: int, *, images: List[ndarray] | None = None, labels: None | List[Dict[str, str]] | List[str] = None) None [source]¶
- add_event(step: int) ContextManager[LoggerEvent] [source]¶
- class nerfbaselines.logging.BaseLoggerEvent(*args, **kwargs)[source]¶
Bases:
LoggerEvent
- add_embedding(tag: str, embeddings: ndarray, *, images: List[ndarray] | None = None, labels: None | List[Dict[str, str]] | List[str] = None) None [source]¶
- add_image(tag: str, image: ndarray, display_name: str | None = None, description: str | None = None, **kwargs) None [source]¶
- class nerfbaselines.logging.ConcatLogger(loggers)[source]¶
Bases:
BaseLogger
- class nerfbaselines.logging.TensorboardLogger(output: str | Path, hparam_plugin_metrics: Sequence[str] | None = None, subdirectory: str | None = 'tensorboard')[source]¶
Bases:
BaseLogger
- class nerfbaselines.logging.TensorboardLoggerEvent(logdir, summaries, step)[source]¶
Bases:
BaseLoggerEvent
- add_embedding(tag: str, embeddings: ndarray, *, images: List[ndarray] | None = None, labels: None | List[Dict[str, str]] | List[str] = None) None [source]¶
- add_histogram(tag: str, values: ndarray, *, num_bins: int | None = None)[source]¶
Add histogram to summary.
- Parameters:
tag – Data identifier
values – Values to build histogram
- class nerfbaselines.logging.WandbLogger(output: str | Path, **kwargs)[source]¶
Bases:
BaseLogger
- class nerfbaselines.logging.WandbLoggerEvent(commit)[source]¶
Bases:
BaseLoggerEvent
- add_embedding(tag: str, embeddings: ndarray, *, images: List[ndarray] | None = None, labels: None | List[Dict[str, str]] | List[str] = None) None [source]¶
- add_image(tag: str, image: ndarray, display_name: str | None = None, description: str | None = None, **kwargs) None [source]¶