Unverified 提交 96d8f860 authored 作者: Ayush Chaurasia's avatar Ayush Chaurasia 提交者: GitHub

W&B: don't log media in evolve (#6617)

上级 51f7750a
...@@ -252,6 +252,8 @@ class WandbLogger(): ...@@ -252,6 +252,8 @@ class WandbLogger():
self.map_val_table_path() self.map_val_table_path()
if opt.bbox_interval == -1: if opt.bbox_interval == -1:
self.bbox_interval = opt.bbox_interval = (opt.epochs // 10) if opt.epochs > 10 else 1 self.bbox_interval = opt.bbox_interval = (opt.epochs // 10) if opt.epochs > 10 else 1
if opt.evolve:
self.bbox_interval = opt.bbox_interval = opt.epochs + 1
train_from_artifact = self.train_artifact_path is not None and self.val_artifact_path is not None train_from_artifact = self.train_artifact_path is not None and self.val_artifact_path is not None
# Update the the data_dict to point to local artifacts dir # Update the the data_dict to point to local artifacts dir
if train_from_artifact: if train_from_artifact:
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论