Skip to content

dvc

DVCLiveLogger

Bases: _DVCLiveLogger

A patch to the official implementation of the PyTorch Lightning DVCLiveLogger that does not implement all the interface.

Source code in src/alceo/logger/dvc.py
 4
 5
 6
 7
 8
 9
10
11
12
13
14
class DVCLiveLogger(_DVCLiveLogger):
    """A patch to the official implementation of the PyTorch Lightning DVCLiveLogger that does not implement all the interface.
    """

    @property
    def log_dir(self) -> Optional[str]:
        return self.experiment.dir

    @property
    def save_dir(self) -> Optional[str]:
        return self.log_dir