Skip to content

Commit aff8bbb

Browse files
authored
Update sweep.py (ultralytics#5402)
1 parent 52b605d commit aff8bbb

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

utils/loggers/wandb/sweep.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,11 @@ def sweep():
2626
opt.epochs = hyp_dict.get("epochs")
2727
opt.nosave = True
2828
opt.data = hyp_dict.get("data")
29+
opt.weights = str(opt.weights)
30+
opt.cfg = str(opt.cfg)
31+
opt.data = str(opt.data)
32+
opt.hyp = str(opt.hyp)
33+
opt.project = str(opt.project)
2934
device = select_device(opt.device, batch_size=opt.batch_size)
3035

3136
# train

0 commit comments

Comments
 (0)