mirror of
https://github.com/THUDM/CogVideo.git
synced 2026-06-02 17:48:24 +08:00
Merge 91960586228e46a4881cf076a7a3027a84a49915 into 7a1af7154511e0ce4e4be8d62faa8c5e5a3532d2
This commit is contained in:
commit
f3ede921ca
@ -588,9 +588,9 @@ class Trainer:
|
|||||||
"image": {"type": "image", "value": image},
|
"image": {"type": "image", "value": image},
|
||||||
"video": {"type": "video", "value": video},
|
"video": {"type": "video", "value": video},
|
||||||
}
|
}
|
||||||
for i, (artifact_type, artifact_value) in enumerate(validation_artifacts):
|
for artifact_idx, (artifact_type, artifact_value) in enumerate(validation_artifacts):
|
||||||
artifacts.update(
|
artifacts.update(
|
||||||
{f"artifact_{i}": {"type": artifact_type, "value": artifact_value}}
|
{f"artifact_{artifact_idx}": {"type": artifact_type, "value": artifact_value}}
|
||||||
)
|
)
|
||||||
logger.debug(
|
logger.debug(
|
||||||
f"Validation artifacts on process {accelerator.process_index}: {list(artifacts.keys())}",
|
f"Validation artifacts on process {accelerator.process_index}: {list(artifacts.keys())}",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user