class composer.loggers.CometMLLogger(workspace=None, project_name=None, log_code=False, log_graph=False, name=None, rank_zero_only=True, exp_kwargs=None)[source]#

Log to Comet.

  • workspace (str, optional) โ€“ The name of the workspace which contains the project you want to attach your experiment to. If nothing specified will default to your default workspace as configured in your comet account settings.

  • project_name (str, optional) โ€“ The name of the project to categorize your experiment in. A new project with this name will be created under the Comet workspace if one with this name does not exist. If no project name specified, the experiment will go under Uncategorized Experiments.

  • log_code (bool) โ€“ Whether to log your code in your experiment (default: False).

  • log_graph (bool) โ€“ Whether to log your computational graph in your experiment (default: False).

  • name (str, optional) โ€“ The name of your experiment. If not specified, it will be set to State.run_name.

  • rank_zero_only (bool, optional) โ€“ Whether to log only on the rank-zero process. (default: True).

  • exp_kwargs (dict[str, Any], optional) โ€“ Any additional kwargs to comet_ml.Experiment(see Comet documentation).