DVCLive cache images (#3459)

pull/3463/head^2
CptCaptain 1 year ago committed by GitHub
parent 5e38c7d71b
commit 0e5a6b8158
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      requirements.txt
  2. 2
      ultralytics/yolo/utils/callbacks/dvc.py

@ -14,7 +14,7 @@ tqdm>=4.64.0
# Logging -------------------------------------
# tensorboard>=2.13.0
# dvclive>=2.11.0
# dvclive>=2.12.0
# clearml
# comet

@ -67,7 +67,7 @@ def on_pretrain_routine_start(trainer):
try:
global live
if not _logger_disabled():
live = dvclive.Live(save_dvc_exp=True)
live = dvclive.Live(save_dvc_exp=True, cache_images=True)
LOGGER.info(
'DVCLive is detected and auto logging is enabled (can be disabled with `ULTRALYTICS_DVC_DISABLED=true`).'
)

Loading…
Cancel
Save