pyiqa.archs.laion_aes_arch ========================== .. py:module:: pyiqa.archs.laion_aes_arch .. autoapi-nested-parse:: LAION-Aesthetics Predictor Introduced by: https://github.com/christophschuhmann/improved-aesthetic-predictor Module Contents --------------- .. py:data:: default_model_urls .. py:class:: MLP(input_size, xcol='emb', ycol='avg_rating') Bases: :py:obj:`torch.nn.Module` .. py:method:: forward(x) .. py:class:: LAIONAes(pretrained=True, pretrained_model_path=None) Bases: :py:obj:`torch.nn.Module` LAIONAes is a class that implements a neural network architecture for image quality assessment. The architecture is based on the ViT-L/14 model from the OpenAI CLIP library, and uses an MLP to predict image quality scores. :param None: :returns: A tensor representing the predicted image quality scores. .. py:method:: forward(x)