def load_aesthetic_laion()

in video_processing/modules/aesthetic_laion.py [0:0]


def load_aesthetic_laion(model_path, device, dtype):
    global MODEL
    dtype = getattr(torch, dtype)
    MODEL = AestheticScorer(dtype=dtype, path=model_path).to(device)