Skip to content

Commit edb848e

Browse files
committed
Fix style
1 parent c2d1315 commit edb848e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

pytorch_lightning/loggers/comet.py

+5-1
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,11 @@ def log_hyperparams(self, params: argparse.Namespace):
166166
self.experiment.log_parameters(vars(params))
167167

168168
@rank_zero_only
169-
def log_metrics(self, metrics: Dict[str, Union[torch.Tensor, float]], step: Optional[int] = None):
169+
def log_metrics(
170+
self,
171+
metrics: Dict[str, Union[torch.Tensor, float]],
172+
step: Optional[int] = None
173+
):
170174
# Comet.ml expects metrics to be a dictionary of detached tensors on CPU
171175
for key, val in metrics.items():
172176
if is_tensor(val):

0 commit comments

Comments
 (0)