root:Photo skin_retouching error, error info: ‘NoneType‘ object is not callable

2023-12-29 15:27:58

root:Photo skin_retouching error, error info: 'NoneType' object is not callable

目录

报错代码:

解决方法:


报错代码:

    try:
        skin_retouching     = pipeline('skin-retouching-torch', model='damo/cv_unet_skin_retouching_torch', model_revision='v1.0.2')
    except:
        skin_retouching     = None
        logging.info("Skin Retouching model load error, but pass.")


   sub_image = image.crop(retinaface_box)
            try

文章来源:https://blog.csdn.net/jacke121/article/details/135287892
本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。