YOLOv5 updates (#90)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
parent
ebd3cfb2fd
commit
98815d560f
27 changed files with 281 additions and 161 deletions
|
|
@ -55,7 +55,7 @@ def plot_one_box(x, img, color=None, label=None, line_thickness=None):
|
|||
)
|
||||
|
||||
|
||||
@hydra.main(version_base=None, config_path=DEFAULT_CONFIG.parent, config_name=DEFAULT_CONFIG.name)
|
||||
@hydra.main(version_base=None, config_path=str(DEFAULT_CONFIG.parent), config_name=DEFAULT_CONFIG.name)
|
||||
def test(cfg):
|
||||
cfg.task = "detect"
|
||||
cfg.mode = "train"
|
||||
|
|
|
|||
|
|
@ -54,7 +54,7 @@ def plot_one_box(x, img, color=None, label=None, line_thickness=None):
|
|||
)
|
||||
|
||||
|
||||
@hydra.main(version_base=None, config_path=DEFAULT_CONFIG.parent, config_name=DEFAULT_CONFIG.name)
|
||||
@hydra.main(version_base=None, config_path=str(DEFAULT_CONFIG.parent), config_name=DEFAULT_CONFIG.name)
|
||||
def test(cfg):
|
||||
cfg.task = "segment"
|
||||
cfg.mode = "train"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue