(
self,
ckpt_path: Union[None, str] = None,
ignore_keys: Union[Tuple, list] = (),
image_video_weights=[1, 1],
only_train_decoder=False,
context_parallel_size=0,
**kwargs,
)
| 525 | |
| 526 | class VideoAutoencodingEngine(AutoencodingEngine): |
| 527 | def __init__( |
| 528 | self, |
| 529 | ckpt_path: Union[None, str] = None, |
| 530 | ignore_keys: Union[Tuple, list] = (), |
| 531 | image_video_weights=[1, 1], |
| 532 | only_train_decoder=False, |
| 533 | context_parallel_size=0, |
| 534 | **kwargs, |
| 535 | ): |
| 536 | super().__init__(**kwargs) |
| 537 | self.context_parallel_size = context_parallel_size |
| 538 | if ckpt_path is not None: |
| 539 | self.init_from_ckpt(ckpt_path, ignore_keys=ignore_keys) |
| 540 | |
| 541 | def log_videos(self, batch: dict, additional_log_kwargs: Optional[Dict] = None, **kwargs) -> dict: |
| 542 | return self.log_images(batch, additional_log_kwargs, **kwargs) |
nothing calls this directly
no test coverage detected