src.yolov5.utils.wandb_logging package

Submodules

src.yolov5.utils.wandb_logging.log_dataset module

src.yolov5.utils.wandb_logging.wandb_utils module

Utilities and tools for tracking runs with Weights & Biases.

class src.yolov5.utils.wandb_logging.wandb_utils.WandbLogger(opt, name, run_id, data_dict, job_type='Training')[source]

Bases: object

Log training runs, datasets, models, and predictions to Weights & Biases.

This logger sends information to W&B at wandb.ai. By default, this information includes hyperparameters, system configuration and metrics, model metrics, and basic data metrics and analyses.

By providing additional command line arguments to train.py, datasets, models and predictions can also be logged.

For more on how this logger is used, see the Weights & Biases documentation: https://docs.wandb.com/guides/integrations/yolov5

check_and_upload_dataset(opt)[source]
create_dataset_table(dataset, class_to_id, name='dataset')[source]
download_dataset_artifact(path, alias)[source]
download_model_artifact(opt)[source]
end_epoch(best_result=False)[source]
finish_run()[source]
log(log_dict)[source]
log_dataset_artifact(data_file, single_cls, project, overwrite_config=False)[source]
log_model(path, opt, epoch, fitness_score, best_model=False)[source]
log_training_progress(predn, path, names)[source]
map_val_table_path()[source]
setup_training(opt, data_dict)[source]
src.yolov5.utils.wandb_logging.wandb_utils.check_wandb_config_file(data_config_file)[source]
src.yolov5.utils.wandb_logging.wandb_utils.check_wandb_resume(opt)[source]
src.yolov5.utils.wandb_logging.wandb_utils.get_run_info(run_path)[source]
src.yolov5.utils.wandb_logging.wandb_utils.process_wandb_config_ddp_mode(opt)[source]
src.yolov5.utils.wandb_logging.wandb_utils.remove_prefix(from_string, prefix='wandb-artifact://')[source]

Module contents