deeplabcut.pose_estimation_pytorch.config.logger
Logger configuration classes for DeepLabCut training runs.
Classes:
| Name | Description |
|---|---|
CSVLoggerConfig |
Configuration for CSV logger. |
LoggerConfig |
Base configuration for all loggers. |
WandbLoggerConfig |
Configuration for Weights & Biases (wandb) logger. |
CSVLoggerConfig
Bases: LoggerConfig
Configuration for CSV logger.
This logger saves training stats and metrics to a CSV file.
Attributes:
| Name | Type | Description |
|---|---|---|
type |
Literal[CSVLogger]
|
Logger type (should be 'CSVLogger') |
train_folder |
str
|
The path of the folder containing training files. |
log_filename |
str
|
The name of the file in which to store training stats |
Source code in deeplabcut/pose_estimation_pytorch/config/logger.py
LoggerConfig
Bases: DLCBaseConfig
Base configuration for all loggers.
Attributes:
| Name | Type | Description |
|---|---|---|
type |
str
|
The type of logger to use (WandbLogger or CSVLogger) |
Source code in deeplabcut/pose_estimation_pytorch/config/logger.py
WandbLoggerConfig
Bases: LoggerConfig
Configuration for Weights & Biases (wandb) logger.
This logger tracks experiments and logs data to Weights & Biases. Refer to: https://docs.wandb.ai/guides for more information.
Attributes:
| Name | Type | Description |
|---|---|---|
type |
Literal[WandbLogger]
|
Logger type (should be 'WandbLogger') |
project_name |
str
|
The name of the wandb project |
run_name |
str
|
The name of the wandb run |
image_log_interval |
int | None
|
How often train/test images are logged in epochs (if None, train/test inputs are never logged) |
model |
dict | None
|
The model architecture to log |
train_folder |
str | None
|
The path of the folder containing training files. |
wandb_kwargs |
dict | None
|
Additional keyword arguments to pass to wandb.init |