check_if_semi_supervised
- lightning_pose.models.base.check_if_semi_supervised(losses_to_use: ListConfig | list | None = None) bool[source]
Determine from the losses config whether the model is semi-supervised.
- Parameters:
losses_to_use – the cfg entry specifying unsupervised losses to use.
- Returns:
True if the model is semi-supervised, False otherwise.