DVCLive cache images (#3459)

This commit is contained in:
CptCaptain 2023-07-03 16:29:40 +02:00 committed by GitHub
parent 5e38c7d71b
commit 0e5a6b8158
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

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

View File

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