Skip to content

Commit 1993272

Browse files
DN6Clay Januhowski
authored andcommitted
Comet changes (ultralytics#9328)
* add link to comte tutorial from main README * fix prediction interval bug
1 parent 7662b72 commit 1993272

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

β€ŽREADME.mdβ€Ž

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ python train.py --data coco.yaml --cfg yolov5n.yaml --weights '' --batch-size 12
157157
- [Roboflow for Datasets, Labeling, and Active Learning](https://github.com/ultralytics/yolov5/issues/4975)  🌟 NEW
158158
- [ClearML Logging](https://github.com/ultralytics/yolov5/tree/master/utils/loggers/clearml) 🌟 NEW
159159
- [Deci Platform](https://github.com/ultralytics/yolov5/wiki/Deci-Platform) 🌟 NEW
160+
- [Comet Logging](https://github.com/ultralytics/yolov5/tree/master/utils/loggers/comet) 🌟 NEW
160161

161162
</details>
162163

β€Žutils/loggers/comet/__init__.pyβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ def __init__(self, opt, hyp, run_id=None, job_type="Training", **experiment_kwar
133133

134134
self.comet_log_predictions = COMET_LOG_PREDICTIONS
135135
if self.opt.bbox_interval == -1:
136-
self.comet_log_prediction_interval = self.opt.epochs // 10 if self.opt.epochs < 10 else 1
136+
self.comet_log_prediction_interval = 1 if self.opt.epochs < 10 else self.opt.epochs // 10
137137
else:
138138
self.comet_log_prediction_interval = self.opt.bbox_interval
139139

0 commit comments

Comments
Β (0)