nemo_curator.models.aesthetics
Module Contents
Classes
Data
API
Bases: ModelInterface
Public interface for aesthetic scoring of video embeddings.
This class provides a standardized interface for scoring the aesthetic quality of video embeddings using a pre-trained model.
Get the model ID names associated with this aesthetic scorer.
Score the aesthetics of input embeddings.
Parameters:
Input embeddings as either a torch tensor or numpy array.
Returns: torch.Tensor
Aesthetic scores for each input embedding.
Download the weights for the aesthetic scorer on the node.
Get the path to the weights for the aesthetic scorer.
Set up the aesthetic scoring model by loading weights.
Bases: Module
Multi-layer perceptron.
A neural network that processes embeddings to predict aesthetic scores.
Forward pass through the MLP.
Parameters:
Input embeddings tensor.
Returns: torch.Tensor
Predicted aesthetic scores.