thanks to modelscope ❤
Browse files- .gitattributes +3 -0
- ast_indexer +0 -0
- hub/Cherrytest/zjz_mj_jiyi_small_addtxt_fromleo/.mdl +0 -0
- hub/Cherrytest/zjz_mj_jiyi_small_addtxt_fromleo/.msc +0 -0
- hub/Cherrytest/zjz_mj_jiyi_small_addtxt_fromleo/README.md +12 -0
- hub/Cherrytest/zjz_mj_jiyi_small_addtxt_fromleo/zjz_mj_jiyi_small_addtxt_fromleo.safetensors +3 -0
- hub/damo/cv_gpen_image-portrait-enhancement-hires/.mdl +0 -0
- hub/damo/cv_gpen_image-portrait-enhancement-hires/.msc +0 -0
- hub/damo/cv_gpen_image-portrait-enhancement-hires/README.md +114 -0
- hub/damo/cv_gpen_image-portrait-enhancement-hires/arcface/model_ir_se50.pth +3 -0
- hub/damo/cv_gpen_image-portrait-enhancement-hires/configuration.json +13 -0
- hub/damo/cv_gpen_image-portrait-enhancement-hires/description/architecture.png +0 -0
- hub/damo/cv_gpen_image-portrait-enhancement-hires/description/demo.jpg +0 -0
- hub/damo/cv_gpen_image-portrait-enhancement-hires/description/demo2.jpg +0 -0
- hub/damo/cv_gpen_image-portrait-enhancement-hires/face_detection/RetinaFace-R50.pth +3 -0
- hub/damo/cv_gpen_image-portrait-enhancement-hires/face_quality/eqface_backbone.pth +3 -0
- hub/damo/cv_gpen_image-portrait-enhancement-hires/face_quality/eqface_quality.pth +3 -0
- hub/damo/cv_gpen_image-portrait-enhancement-hires/net_d.pt +3 -0
- hub/damo/cv_gpen_image-portrait-enhancement-hires/pytorch_model-2048.pt +3 -0
- hub/damo/cv_gpen_image-portrait-enhancement-hires/pytorch_model.pt +3 -0
- hub/damo/cv_gpen_image-portrait-enhancement-hires/super_resolution/realesrnet_x2.pth +3 -0
- hub/damo/cv_ir_face-recognition-ood_rts/.mdl +0 -0
- hub/damo/cv_ir_face-recognition-ood_rts/.msc +0 -0
- hub/damo/cv_ir_face-recognition-ood_rts/README.md +153 -0
- hub/damo/cv_ir_face-recognition-ood_rts/configuration.json +14 -0
- hub/damo/cv_ir_face-recognition-ood_rts/pytorch_model.pt +3 -0
- hub/damo/cv_ir_face-recognition-ood_rts/rts.png +0 -0
- hub/damo/cv_unet-image-face-fusion_damo/.mdl +0 -0
- hub/damo/cv_unet-image-face-fusion_damo/.msc +0 -0
- hub/damo/cv_unet-image-face-fusion_damo/3dRecon/face_3d.pth +3 -0
- hub/damo/cv_unet-image-face-fusion_damo/BFM/BFM_model_front.mat +3 -0
- hub/damo/cv_unet-image-face-fusion_damo/README.md +113 -0
- hub/damo/cv_unet-image-face-fusion_damo/alpha.jpg +0 -0
- hub/damo/cv_unet-image-face-fusion_damo/configuration.json +10 -0
- hub/damo/cv_unet-image-face-fusion_damo/description/.DS_Store +0 -0
- hub/damo/cv_unet-image-face-fusion_damo/description/Picture1.png +3 -0
- hub/damo/cv_unet-image-face-fusion_damo/description/architecture.png +0 -0
- hub/damo/cv_unet-image-face-fusion_damo/description/demo.png +3 -0
- hub/damo/cv_unet-image-face-fusion_damo/description//347/263/273/347/273/237/346/241/206/345/233/276.png +0 -0
- hub/damo/cv_unet-image-face-fusion_damo/detector.pb +3 -0
- hub/damo/cv_unet-image-face-fusion_damo/faceEnhance/350000-Ns256.pt +3 -0
- hub/damo/cv_unet-image-face-fusion_damo/faceEnhance/GPEN-BFR-1024.pth +3 -0
- hub/damo/cv_unet-image-face-fusion_damo/faceRecog/CurricularFace_Backbone.pth +3 -0
- hub/damo/cv_unet-image-face-fusion_damo/keypoints.pb +3 -0
- hub/damo/cv_unet-image-face-fusion_damo/pytorch_model.pt +3 -0
- hub/ly261666/cv_portrait_model/.msc +0 -0
- modelscope_modules/cv_unet_skin_retouching_torch/__pycache__/__init__.cpython-310.pyc +0 -0
- modelscope_modules/cv_unet_skin_retouching_torch/__pycache__/ms_wrapper.cpython-310.pyc +0 -0
.gitattributes
CHANGED
|
@@ -34,3 +34,6 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
hub/damo/cv_resnet50_face-detection_retinaface/result.png filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
hub/damo/cv_resnet50_face-detection_retinaface/result.png filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
hub/damo/cv_unet-image-face-fusion_damo/BFM/BFM_model_front.mat filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
hub/damo/cv_unet-image-face-fusion_damo/description/Picture1.png filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
hub/damo/cv_unet-image-face-fusion_damo/description/demo.png filter=lfs diff=lfs merge=lfs -text
|
ast_indexer
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|
hub/Cherrytest/zjz_mj_jiyi_small_addtxt_fromleo/.mdl
ADDED
|
Binary file (66 Bytes). View file
|
|
|
hub/Cherrytest/zjz_mj_jiyi_small_addtxt_fromleo/.msc
ADDED
|
Binary file (191 Bytes). View file
|
|
|
hub/Cherrytest/zjz_mj_jiyi_small_addtxt_fromleo/README.md
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
#以下为文本生成的 "tasks"示例,您可以从此网页中了解更多相关信息:https://modelscope.cn/docs/%E4%BB%BB%E5%8A%A1%E7%9A%84%E4%BB%8B%E7%BB%8D
|
| 3 |
+
#tasks:
|
| 4 |
+
#- text-generation
|
| 5 |
+
license: Apache License 2.0
|
| 6 |
+
---
|
| 7 |
+
###### 该模型当前使用的是默认介绍模版,处于“预发布”阶段,页面仅限所有者可见。
|
| 8 |
+
###### 请根据[模型贡献文档说明](https://www.modelscope.cn/docs/%E5%A6%82%E4%BD%95%E6%92%B0%E5%86%99%E5%A5%BD%E7%94%A8%E7%9A%84%E6%A8%A1%E5%9E%8B%E5%8D%A1%E7%89%87),及时完善模型卡片内容。ModelScope平台将在模型卡片完善后展示。谢谢您的理解。
|
| 9 |
+
#### Clone with HTTP
|
| 10 |
+
```bash
|
| 11 |
+
git clone https://www.modelscope.cn/Cherrytest/zjz_mj_jiyi_small_addtxt_fromleo.git
|
| 12 |
+
```
|
hub/Cherrytest/zjz_mj_jiyi_small_addtxt_fromleo/zjz_mj_jiyi_small_addtxt_fromleo.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0c221b9db02c2fba619def80fcea06b7c1fd4613658b351a1f3840870fe5926d
|
| 3 |
+
size 37865201
|
hub/damo/cv_gpen_image-portrait-enhancement-hires/.mdl
ADDED
|
Binary file (68 Bytes). View file
|
|
|
hub/damo/cv_gpen_image-portrait-enhancement-hires/.msc
ADDED
|
Binary file (1.03 kB). View file
|
|
|
hub/damo/cv_gpen_image-portrait-enhancement-hires/README.md
ADDED
|
@@ -0,0 +1,114 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
tasks:
|
| 3 |
+
- image-portrait-enhancement
|
| 4 |
+
widgets:
|
| 5 |
+
- task: image-portrait-enhancement
|
| 6 |
+
inputs:
|
| 7 |
+
- type: image
|
| 8 |
+
validator:
|
| 9 |
+
max_size: 10M
|
| 10 |
+
max_resolution: 2000*2000
|
| 11 |
+
examples:
|
| 12 |
+
- name: 1
|
| 13 |
+
inputs:
|
| 14 |
+
- name: image
|
| 15 |
+
data: git://description/demo.jpg
|
| 16 |
+
- name: 2
|
| 17 |
+
inputs:
|
| 18 |
+
- name: image
|
| 19 |
+
data: git://description/demo2.jpg
|
| 20 |
+
inferencespec:
|
| 21 |
+
cpu: 4
|
| 22 |
+
memory: 8000
|
| 23 |
+
gpu: 1
|
| 24 |
+
gpu_memory: 16000
|
| 25 |
+
model-type:
|
| 26 |
+
- GAN
|
| 27 |
+
domain:
|
| 28 |
+
- cv
|
| 29 |
+
frameworks:
|
| 30 |
+
- pytorch
|
| 31 |
+
backbone:
|
| 32 |
+
- gpen
|
| 33 |
+
metrics:
|
| 34 |
+
- realism
|
| 35 |
+
customized-quickstart: False
|
| 36 |
+
finetune-support: True
|
| 37 |
+
license: Apache License 2.0
|
| 38 |
+
tags:
|
| 39 |
+
- GPEN
|
| 40 |
+
- Face enhancement
|
| 41 |
+
- Face restoration
|
| 42 |
+
- Old photo restoration
|
| 43 |
+
datasets:
|
| 44 |
+
test:
|
| 45 |
+
- modelscope/image-portrait-enhancement-dataset
|
| 46 |
+
train:
|
| 47 |
+
- modelscope/image-portrait-enhancement-dataset
|
| 48 |
+
---
|
| 49 |
+
|
| 50 |
+
# 人像修复介绍
|
| 51 |
+
|
| 52 |
+
输入一张包含人像的图像,算法会对图像中的每一个检测到的人像做修复和增强,对图像中的非人像区域采用RealESRNet做两倍的超分辨率,最终返回修复后的完整图像。
|
| 53 |
+
|
| 54 |
+
## 模型描述
|
| 55 |
+
|
| 56 |
+
GPEN将预训练好的StyleGAN2网络作为decoder嵌入到人像修复模型中,并通过finetune的方式最终实现修复功能,在多项指标上达到行业领先的效果。
|
| 57 |
+
|
| 58 |
+
本模型支持1024x1024分辨率人像,能够更好处理大分辨的人像。同时模型文件列表中提供了支持2048x2048分辨率人像输入的模型,适合增强修复手机自拍的大分辨率人像,用户可以通过修改相关代码来使用。
|
| 59 |
+
|
| 60 |
+

|
| 61 |
+
|
| 62 |
+
## 期望模型使用方式以及适用范围
|
| 63 |
+
|
| 64 |
+
本模型适用范围较广,给定任意的包含人像的图片,在设备性能允许的情况下,都能输出修复后的效果图。
|
| 65 |
+
|
| 66 |
+
### 如何使用
|
| 67 |
+
|
| 68 |
+
在ModelScope框架上,提供任意图片,即可以通过简单的Pipeline调用来使用人像修复模型。
|
| 69 |
+
|
| 70 |
+
#### 代码范例
|
| 71 |
+
```python
|
| 72 |
+
import cv2
|
| 73 |
+
from modelscope.pipelines import pipeline
|
| 74 |
+
from modelscope.utils.constant import Tasks
|
| 75 |
+
from modelscope.outputs import OutputKeys
|
| 76 |
+
|
| 77 |
+
portrait_enhancement = pipeline(Tasks.image_portrait_enhancement, model='damo/cv_gpen_image-portrait-enhancement-hires')
|
| 78 |
+
result = portrait_enhancement('https://modelscope.oss-cn-beijing.aliyuncs.com/test/images/marilyn_monroe_4.jpg')
|
| 79 |
+
cv2.imwrite('result.png', result[OutputKeys.OUTPUT_IMG])
|
| 80 |
+
```
|
| 81 |
+
|
| 82 |
+
### 模型局限性以及可能的偏差
|
| 83 |
+
|
| 84 |
+
- 真实图片的降质很复杂,本算法使用模拟降质数据训练,可能存在处理不好的case。
|
| 85 |
+
- 本算法可能存在色偏等瑕疵现象。
|
| 86 |
+
|
| 87 |
+
## 训练数据介绍
|
| 88 |
+
|
| 89 |
+
训练数据为FFHQ公开数据集。本算法采用监督式的训练,因此需要事先准备好高质-低质的数据对,推荐使用RealESRGAN、BSRGAN等降质方式进行低质数据生成。
|
| 90 |
+
|
| 91 |
+
## 模型训练流程
|
| 92 |
+
|
| 93 |
+
### 预处理
|
| 94 |
+
|
| 95 |
+
### 模型训练代码
|
| 96 |
+
|
| 97 |
+
## 数据评估及结果
|
| 98 |
+
|
| 99 |
+
| Metric | Value |
|
| 100 |
+
|:------:|:-----:|
|
| 101 |
+
| FID | 31.72 |
|
| 102 |
+
| PSNR | 20.80 |
|
| 103 |
+
| LPIPS | 0.346 |
|
| 104 |
+
|
| 105 |
+
### 相关论文以及引用信息
|
| 106 |
+
|
| 107 |
+
```BibTeX
|
| 108 |
+
@inproceedings{yang2021gpen,
|
| 109 |
+
title={GAN Prior Embedded Network for Blind Face Restoration in the Wild},
|
| 110 |
+
author={Tao Yang, Peiran Ren, Xuansong Xie, and Lei Zhang},
|
| 111 |
+
booktitle={IEEE Conference on Computer Vision and Pattern Recognition (CVPR)},
|
| 112 |
+
year={2021}
|
| 113 |
+
}
|
| 114 |
+
```
|
hub/damo/cv_gpen_image-portrait-enhancement-hires/arcface/model_ir_se50.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a035c768259b98ab1ce0e646312f48b9e1e218197a0f80ac6765e88f8b6ddf28
|
| 3 |
+
size 175367323
|
hub/damo/cv_gpen_image-portrait-enhancement-hires/configuration.json
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"framework": "pytorch",
|
| 3 |
+
|
| 4 |
+
"task": "image-portrait-enhancement",
|
| 5 |
+
|
| 6 |
+
"pipeline": {
|
| 7 |
+
"type": "gpen-image-portrait-enhancement"
|
| 8 |
+
},
|
| 9 |
+
|
| 10 |
+
"model": {
|
| 11 |
+
"type": "gpen"
|
| 12 |
+
}
|
| 13 |
+
}
|
hub/damo/cv_gpen_image-portrait-enhancement-hires/description/architecture.png
ADDED
|
hub/damo/cv_gpen_image-portrait-enhancement-hires/description/demo.jpg
ADDED
|
hub/damo/cv_gpen_image-portrait-enhancement-hires/description/demo2.jpg
ADDED
|
hub/damo/cv_gpen_image-portrait-enhancement-hires/face_detection/RetinaFace-R50.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6d1de9c2944f2ccddca5f5e010ea5ae64a39845a86311af6fdf30841b0a5a16d
|
| 3 |
+
size 109497761
|
hub/damo/cv_gpen_image-portrait-enhancement-hires/face_quality/eqface_backbone.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6d9ec43bc9240917af24529a263627a00bd2767a73c061d0c572c62d0303a420
|
| 3 |
+
size 261089502
|
hub/damo/cv_gpen_image-portrait-enhancement-hires/face_quality/eqface_quality.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6612c6ea27ff82e178e8f77f28bddcbf09d3a0983df370851b197fbfddb212c6
|
| 3 |
+
size 51394016
|
hub/damo/cv_gpen_image-portrait-enhancement-hires/net_d.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d0d39282e0ee4d53d64bcb3d0ed67e06cf8a1cdd38621804cde57da6e207628d
|
| 3 |
+
size 115954608
|
hub/damo/cv_gpen_image-portrait-enhancement-hires/pytorch_model-2048.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b7c563db886b19f87f32b7e8a378121549571c9f092174f4b5c9c64e03babfaa
|
| 3 |
+
size 285259200
|
hub/damo/cv_gpen_image-portrait-enhancement-hires/pytorch_model.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:eeb799bdfcb86ce347f89cd7f286a901517d7e24d3123399d11a79f51329a8f9
|
| 3 |
+
size 284914645
|
hub/damo/cv_gpen_image-portrait-enhancement-hires/super_resolution/realesrnet_x2.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a8bc646e373d3aa593842d071f2bd876d3db2cc969f8d3efa6cf961cc421c2d1
|
| 3 |
+
size 77228423
|
hub/damo/cv_ir_face-recognition-ood_rts/.mdl
ADDED
|
Binary file (58 Bytes). View file
|
|
|
hub/damo/cv_ir_face-recognition-ood_rts/.msc
ADDED
|
Binary file (296 Bytes). View file
|
|
|
hub/damo/cv_ir_face-recognition-ood_rts/README.md
ADDED
|
@@ -0,0 +1,153 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
tasks:
|
| 3 |
+
- face-recognition
|
| 4 |
+
widgets:
|
| 5 |
+
- task: face-recognition-ood
|
| 6 |
+
inputs:
|
| 7 |
+
- type: image
|
| 8 |
+
examples:
|
| 9 |
+
- name: 1
|
| 10 |
+
inputs:
|
| 11 |
+
- data: https://modelscope.oss-cn-beijing.aliyuncs.com/test/images/mog_face_detection.jpg
|
| 12 |
+
name: image
|
| 13 |
+
inferencespec:
|
| 14 |
+
cpu: 4
|
| 15 |
+
gpu: 1
|
| 16 |
+
gpu_memory: 16000
|
| 17 |
+
memory: 43000
|
| 18 |
+
domain:
|
| 19 |
+
- cv
|
| 20 |
+
tags:
|
| 21 |
+
- RTS
|
| 22 |
+
- AAAI2023
|
| 23 |
+
frameworks:
|
| 24 |
+
- pytorch
|
| 25 |
+
backbone:
|
| 26 |
+
- Resnet
|
| 27 |
+
metrics:
|
| 28 |
+
- AP
|
| 29 |
+
license: MIT License
|
| 30 |
+
#datasets:
|
| 31 |
+
# train:
|
| 32 |
+
# - shaoxuan/WIDER_FACE
|
| 33 |
+
# evaluation:
|
| 34 |
+
# - shaoxuan/WIDER_FACE
|
| 35 |
+
|
| 36 |
+
---
|
| 37 |
+
|
| 38 |
+
# RTS模型介绍
|
| 39 |
+
人脸识别OOD模型RTS
|
| 40 |
+
|
| 41 |
+
|
| 42 |
+
## 模型描述
|
| 43 |
+
针对人脸识别系统中经常遇到的低质量、噪声、甚至不同数据分布(out of distribution, OOD)的数据带来的问题,用基于概率的视角分析损失函数中温度调节参数和分类不确定度的内在关系,同时该不确定度服从一个先验分布。从而可以稳定训练,以及在部署时提供一个对不确定度的度量分值,帮助建立更鲁棒的人脸识别系统。
|
| 44 |
+
主要贡献点如下:
|
| 45 |
+
(1)基于概率视角,揭示了损失函数中温度调节参数和分类不确定度的内在关系,通过提出的Random Temperature Scaling (RTS) 来训练更可靠的人脸识别模型。
|
| 46 |
+
(2)在训练阶段,RTS可以调节干净数据和噪声数据对训练的影响以得到更稳定的训练过程和更好的识别效果。
|
| 47 |
+
(3)在测试阶段,RTS可以提供一个不需要通过额外数据训练的不确定度分值,来分辨出不确定的、低质量的以及不同数据分布(out of distribution, OOD)的样本,以建立更鲁棒的人脸识别系统。
|
| 48 |
+
|
| 49 |
+
|
| 50 |
+
## 模型效果
|
| 51 |
+

|
| 52 |
+
|
| 53 |
+
## 模型使用方式和使用范围
|
| 54 |
+
本模型可以检测输入图片中人脸的512维特征和对应的质量分。
|
| 55 |
+
|
| 56 |
+
### 代码范例
|
| 57 |
+
```python
|
| 58 |
+
from modelscope.pipelines import pipeline
|
| 59 |
+
from modelscope.utils.constant import Tasks
|
| 60 |
+
from modelscope.outputs import OutputKeys
|
| 61 |
+
import numpy as np
|
| 62 |
+
|
| 63 |
+
rts_face_recognition_func = pipeline(Tasks.face_recognition, 'damo/cv_ir_face-recognition-ood_rts')
|
| 64 |
+
|
| 65 |
+
img1 = 'https://modelscope.oss-cn-beijing.aliyuncs.com/test/images/face_recognition_1.png'
|
| 66 |
+
img2 = 'https://modelscope.oss-cn-beijing.aliyuncs.com/test/images/face_recognition_2.png'
|
| 67 |
+
|
| 68 |
+
result1 = rts_face_recognition_func(img1)
|
| 69 |
+
result2 = rts_face_recognition_func(img2)
|
| 70 |
+
|
| 71 |
+
emb1 = result1[OutputKeys.IMG_EMBEDDING]
|
| 72 |
+
score1 = result1[OutputKeys.SCORES][0][0]
|
| 73 |
+
|
| 74 |
+
emb2 = result2[OutputKeys.IMG_EMBEDDING]
|
| 75 |
+
score2 = result2[OutputKeys.SCORES][0][0]
|
| 76 |
+
|
| 77 |
+
sim = np.dot(emb1[0], emb2[0])
|
| 78 |
+
print(f'Cos similarity={sim:.3f}, img1:{img1} img2:{img2}')
|
| 79 |
+
print(f'OOD score: img1:{score1:.3f} img2:{score2:.3f}')
|
| 80 |
+
|
| 81 |
+
```
|
| 82 |
+
|
| 83 |
+
### 使用方式
|
| 84 |
+
- 推理:输入经过对齐的人脸图片(112x112),返回人脸特征向量(512维),为便于体验,集成了人脸检测和关键点模型RetinaFace,输入两张图片,各自进行人脸检测选择最大脸并对齐后提取特征,然后返回相似度比分以及每个人脸的质量分。
|
| 85 |
+
|
| 86 |
+
### 目标场景
|
| 87 |
+
- 人脸识别应用广泛,如考勤,通行,人身核验,智慧安防等场景
|
| 88 |
+
|
| 89 |
+
### 模型局限性及可能偏差
|
| 90 |
+
- 当前版本在python 3.7环境测试通过,其他环境下可用性待测试
|
| 91 |
+
|
| 92 |
+
### 预处理
|
| 93 |
+
测试时主要的预处理如下:
|
| 94 |
+
- Resize:图像resize到112x112
|
| 95 |
+
- Normalize:图像归一化,减均值除以标准差
|
| 96 |
+
|
| 97 |
+
## 人脸相关模型
|
| 98 |
+
|
| 99 |
+
以下是ModelScope上人脸相关模型:
|
| 100 |
+
|
| 101 |
+
- 人脸检测
|
| 102 |
+
|
| 103 |
+
| 序号 | 模型名称 |
|
| 104 |
+
| ------------ | ------------ |
|
| 105 |
+
| 1 | [RetinaFace人脸检测模型](https://modelscope.cn/models/damo/cv_resnet50_face-detection_retinaface/summary) |
|
| 106 |
+
| 2 | [MogFace人脸检测模型-large](https://modelscope.cn/models/damo/cv_resnet101_face-detection_cvpr22papermogface/summary) |
|
| 107 |
+
| 3 | [TinyMog人脸检测器-tiny](https://modelscope.cn/models/damo/cv_manual_face-detection_tinymog/summary) |
|
| 108 |
+
| 4 | [ULFD人脸检测模型-tiny](https://modelscope.cn/models/damo/cv_manual_face-detection_ulfd/summary) |
|
| 109 |
+
| 5 | [Mtcnn人脸检测关键点模型](https://modelscope.cn/models/damo/cv_manual_face-detection_mtcnn/summary) |
|
| 110 |
+
| 6 | [ULFD人脸检测模型-tiny](https://modelscope.cn/models/damo/cv_manual_face-detection_ulfd/summary) |
|
| 111 |
+
|
| 112 |
+
|
| 113 |
+
- 人脸识别
|
| 114 |
+
|
| 115 |
+
| 序号 | 模型名称 |
|
| 116 |
+
| ------------ | ------------ |
|
| 117 |
+
| 1 | [口罩人脸识别模型FaceMask](https://modelscope.cn/models/damo/cv_resnet_face-recognition_facemask/summary) |
|
| 118 |
+
| 2 | [口罩人脸识别模型FRFM-large](https://modelscope.cn/models/damo/cv_manual_face-recognition_frfm/summary) |
|
| 119 |
+
| 3 | [IR人脸识别模型FRIR](https://modelscope.cn/models/damo/cv_manual_face-recognition_frir/summary) |
|
| 120 |
+
| 4 | [ArcFace人脸识别模型](https://modelscope.cn/models/damo/cv_ir50_face-recognition_arcface/summary) |
|
| 121 |
+
| 5 | [IR人脸识别模型FRIR](https://modelscope.cn/models/damo/cv_manual_face-recognition_frir/summary) |
|
| 122 |
+
|
| 123 |
+
- 人脸活体识别
|
| 124 |
+
|
| 125 |
+
| 序号 | 模型名称 |
|
| 126 |
+
| ------------ | ------------ |
|
| 127 |
+
| 1 | [人脸活体检测模型-IR](https://modelscope.cn/models/damo/cv_manual_face-liveness_flir/summary) |
|
| 128 |
+
| 2 | [人脸活体检测模型-RGB](https://modelscope.cn/models/damo/cv_manual_face-liveness_flrgb/summary) |
|
| 129 |
+
| 3 | [静默人脸活体检测模型-炫彩](https://modelscope.cn/models/damo/cv_manual_face-liveness_flxc/summary) |
|
| 130 |
+
|
| 131 |
+
- 人脸关键点
|
| 132 |
+
|
| 133 |
+
| 序号 | 模型名称 |
|
| 134 |
+
| ------------ | ------------ |
|
| 135 |
+
| 1 | [FLCM人脸关键点置信度模型](https://modelscope.cn/models/damo/cv_manual_facial-landmark-confidence_flcm/summary) |
|
| 136 |
+
|
| 137 |
+
- 人脸属性 & 表情
|
| 138 |
+
|
| 139 |
+
|
| 140 |
+
| 序号 | 模型名称 |
|
| 141 |
+
| ------------ | ------------ |
|
| 142 |
+
| 1 | [人脸表情识别模型FER](https://modelscope.cn/models/damo/cv_vgg19_facial-expression-recognition_fer/summary) |
|
| 143 |
+
| 2 | [人脸属性识别模型FairFace](https://modelscope.cn/models/damo/cv_resnet34_face-attribute-recognition_fairface/summary) |
|
| 144 |
+
|
| 145 |
+
## 来源说明
|
| 146 |
+
本模型及代码来自达摩院自研技术
|
| 147 |
+
|
| 148 |
+
## 引用
|
| 149 |
+
如果你觉得这个该模型对有所帮助,请考虑引用下面的相关的论文:
|
| 150 |
+
|
| 151 |
+
```BibTeX
|
| 152 |
+
```
|
| 153 |
+
|
hub/damo/cv_ir_face-recognition-ood_rts/configuration.json
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"framework": "pytorch",
|
| 3 |
+
"task": "face-recognition",
|
| 4 |
+
"pipeline": {
|
| 5 |
+
"type": "ir-face-recognition-rts"
|
| 6 |
+
},
|
| 7 |
+
"model": {
|
| 8 |
+
"type": "rts-backbone",
|
| 9 |
+
"am_model_name": "pytorch_model.pt",
|
| 10 |
+
"alpha": 16,
|
| 11 |
+
"rts_plus": false
|
| 12 |
+
|
| 13 |
+
}
|
| 14 |
+
}
|
hub/damo/cv_ir_face-recognition-ood_rts/pytorch_model.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:43a978d63c1d797bc676fea14e5d170bce8030cdde299a5552422369455347db
|
| 3 |
+
size 191488844
|
hub/damo/cv_ir_face-recognition-ood_rts/rts.png
ADDED
|
hub/damo/cv_unet-image-face-fusion_damo/.mdl
ADDED
|
Binary file (58 Bytes). View file
|
|
|
hub/damo/cv_unet-image-face-fusion_damo/.msc
ADDED
|
Binary file (1.25 kB). View file
|
|
|
hub/damo/cv_unet-image-face-fusion_damo/3dRecon/face_3d.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:771388951426261068d9d642abd108ac3787bd235ecc724c5ac3e8aca3f92f19
|
| 3 |
+
size 96415154
|
hub/damo/cv_unet-image-face-fusion_damo/BFM/BFM_model_front.mat
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3d3f727f1ed9e79962ed0420f80680c6ec59a63c3c793bf967f67d668d815c73
|
| 3 |
+
size 127170280
|
hub/damo/cv_unet-image-face-fusion_damo/README.md
ADDED
|
@@ -0,0 +1,113 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
tasks:
|
| 3 |
+
- image-face-fusion
|
| 4 |
+
widgets:
|
| 5 |
+
- task: image-face-fusion
|
| 6 |
+
inputs:
|
| 7 |
+
- type: image
|
| 8 |
+
validator:
|
| 9 |
+
max_size: 10M
|
| 10 |
+
max_resolution: 2000*2000
|
| 11 |
+
examples:
|
| 12 |
+
- name: 1
|
| 13 |
+
inputs:
|
| 14 |
+
- name: template
|
| 15 |
+
data: https://modelscope.oss-cn-beijing.aliyuncs.com/test/images/facefusion_template.jpg
|
| 16 |
+
- name: user
|
| 17 |
+
data: https://modelscope.oss-cn-beijing.aliyuncs.com/test/images/facefusion_user.jpg
|
| 18 |
+
inferencespec:
|
| 19 |
+
cpu: 2
|
| 20 |
+
memory: 8000
|
| 21 |
+
gpu: 1
|
| 22 |
+
gpu_memory: 16000
|
| 23 |
+
model_type:
|
| 24 |
+
- GAN
|
| 25 |
+
domain:
|
| 26 |
+
- cv
|
| 27 |
+
frameworks:
|
| 28 |
+
- pytorch
|
| 29 |
+
backbone:
|
| 30 |
+
- encoder-decoder
|
| 31 |
+
metrics:
|
| 32 |
+
- realism
|
| 33 |
+
license: Apache License 2.0
|
| 34 |
+
language:
|
| 35 |
+
- ch
|
| 36 |
+
tags:
|
| 37 |
+
- Facefusion
|
| 38 |
+
- Faceswap
|
| 39 |
+
- Deepfake
|
| 40 |
+
- 换脸
|
| 41 |
+
- 人脸融合
|
| 42 |
+
- 图像生成
|
| 43 |
+
---
|
| 44 |
+
|
| 45 |
+
|
| 46 |
+
# 图像人脸融合
|
| 47 |
+
|
| 48 |
+
给定一张模板图和一张目标用户图,图像人脸融合模型能够自动地将用户图中的人脸融合到模板人脸图像中,生成一张与目标人脸相似,且具有模版图外貌特征的新图像。
|
| 49 |
+
|
| 50 |
+
其生成效果如下所示:
|
| 51 |
+
|
| 52 |
+

|
| 53 |
+
|
| 54 |
+
## 模型描述
|
| 55 |
+
|
| 56 |
+
本模型使用多尺度属性编码器提取模板图属性特征,使用预训练人脸识别模型提取用户图的ID特征,再通过引入可行变特征融合结构,
|
| 57 |
+
将ID特征嵌入属性特征空间的同时,以光流场的形式实现面部的自适应变化,最终融合结果真实,高保真,且支持一定程度内对目标用户脸型的自适应感知。
|
| 58 |
+
|
| 59 |
+

|
| 60 |
+
|
| 61 |
+
## 使用方式和范围
|
| 62 |
+
|
| 63 |
+
使用方式:
|
| 64 |
+
- 直接推理,在任意真实人物图像对上进行直接推理。
|
| 65 |
+
|
| 66 |
+
使用范围:
|
| 67 |
+
- 正脸或偏侧一定小范围角度的侧脸图像,人脸五官轮廓清晰无遮挡,图像分辨率大于128x128,小于2000×2000。
|
| 68 |
+
|
| 69 |
+
目标场景:
|
| 70 |
+
- 互动娱乐,广告宣传,影楼试片等。
|
| 71 |
+
|
| 72 |
+
### 如何使用
|
| 73 |
+
|
| 74 |
+
在ModelScope框架上,提供输入的模板图和用户图,即可以通过简单的Pipeline调用来使用。
|
| 75 |
+
|
| 76 |
+
#### 代码范例
|
| 77 |
+
```python
|
| 78 |
+
import cv2
|
| 79 |
+
from modelscope.outputs import OutputKeys
|
| 80 |
+
from modelscope.pipelines import pipeline
|
| 81 |
+
from modelscope.utils.constant import Tasks
|
| 82 |
+
|
| 83 |
+
image_face_fusion = pipeline(Tasks.image_face_fusion,
|
| 84 |
+
model='damo/cv_unet-image-face-fusion_damo')
|
| 85 |
+
template_path = 'https://modelscope.oss-cn-beijing.aliyuncs.com/test/images/facefusion_template.jpg'
|
| 86 |
+
user_path = 'https://modelscope.oss-cn-beijing.aliyuncs.com/test/images/facefusion_user.jpg'
|
| 87 |
+
result = image_face_fusion(dict(template=template_path, user=user_path))
|
| 88 |
+
|
| 89 |
+
cv2.imwrite('result.png', result[OutputKeys.OUTPUT_IMG])
|
| 90 |
+
print('finished!')
|
| 91 |
+
|
| 92 |
+
```
|
| 93 |
+
|
| 94 |
+
### 模型局限性以及可能的偏差
|
| 95 |
+
|
| 96 |
+
- 建议图像中人脸五官区域轮廓完整,无明显遮挡,否则可能影响人脸检测结果导致融合效果不佳。
|
| 97 |
+
|
| 98 |
+
- 算法支持人脸偏侧一定角度,在偏侧角度不超过30度的情况下能取得更佳效果。
|
| 99 |
+
|
| 100 |
+
- 图像中人脸尺寸建议大于64×64像素,人脸区域建议不大于全图区域的2/3,否则会影响人脸检测的结果导致无法进行融合操作。
|
| 101 |
+
|
| 102 |
+
- 如果两张人脸的脸型差别过大,可能影响脸部边缘区域的融合效果。
|
| 103 |
+
|
| 104 |
+
## 模型推理流程
|
| 105 |
+
|
| 106 |
+
### 预处理
|
| 107 |
+
|
| 108 |
+
- 人脸区域提取&对齐,得到256x256大小的图像用于模型推理。
|
| 109 |
+
- 人脸识别模型提取用户人脸的脸部特征。
|
| 110 |
+
- 3d重建网络对模板图重建三维结构信息。
|
| 111 |
+
|
| 112 |
+
|
| 113 |
+
|
hub/damo/cv_unet-image-face-fusion_damo/alpha.jpg
ADDED
|
hub/damo/cv_unet-image-face-fusion_damo/configuration.json
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"framework": "pytorch",
|
| 3 |
+
"task": "image-face-fusion",
|
| 4 |
+
"pipeline": {
|
| 5 |
+
"type": "image-face-fusion"
|
| 6 |
+
},
|
| 7 |
+
"model": {
|
| 8 |
+
"type": "image-face-fusion"
|
| 9 |
+
}
|
| 10 |
+
}
|
hub/damo/cv_unet-image-face-fusion_damo/description/.DS_Store
ADDED
|
Binary file (6.15 kB). View file
|
|
|
hub/damo/cv_unet-image-face-fusion_damo/description/Picture1.png
ADDED
|
Git LFS Details
|
hub/damo/cv_unet-image-face-fusion_damo/description/architecture.png
ADDED
|
hub/damo/cv_unet-image-face-fusion_damo/description/demo.png
ADDED
|
Git LFS Details
|
hub/damo/cv_unet-image-face-fusion_damo/description//347/263/273/347/273/237/346/241/206/345/233/276.png
ADDED
|
hub/damo/cv_unet-image-face-fusion_damo/detector.pb
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8e42012b74def7225fd70b0df5814090a8f36787b860e91032c06d55adae5ad4
|
| 3 |
+
size 4475998
|
hub/damo/cv_unet-image-face-fusion_damo/faceEnhance/350000-Ns256.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:194bc6859cef02b52273183ed7895beddfc24eeef640bb44758c082a8a7146bf
|
| 3 |
+
size 75548422
|
hub/damo/cv_unet-image-face-fusion_damo/faceEnhance/GPEN-BFR-1024.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:eeb799bdfcb86ce347f89cd7f286a901517d7e24d3123399d11a79f51329a8f9
|
| 3 |
+
size 284914645
|
hub/damo/cv_unet-image-face-fusion_damo/faceRecog/CurricularFace_Backbone.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:031ea0f7ba5f46905980cc446f0bbf9539e361246bff95f7077efffe2f110e04
|
| 3 |
+
size 260837256
|
hub/damo/cv_unet-image-face-fusion_damo/keypoints.pb
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:80d03c931bc15ec9d3113e446cba4f35b4d8a0f8323b04fe547fb8d280f446d6
|
| 3 |
+
size 4146481
|
hub/damo/cv_unet-image-face-fusion_damo/pytorch_model.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:99da140df58b2233dd51e3d8e042238c554a79b56d4a68f39cdb3a746577fdad
|
| 3 |
+
size 896741808
|
hub/ly261666/cv_portrait_model/.msc
CHANGED
|
Binary files a/hub/ly261666/cv_portrait_model/.msc and b/hub/ly261666/cv_portrait_model/.msc differ
|
|
|
modelscope_modules/cv_unet_skin_retouching_torch/__pycache__/__init__.cpython-310.pyc
CHANGED
|
Binary files a/modelscope_modules/cv_unet_skin_retouching_torch/__pycache__/__init__.cpython-310.pyc and b/modelscope_modules/cv_unet_skin_retouching_torch/__pycache__/__init__.cpython-310.pyc differ
|
|
|
modelscope_modules/cv_unet_skin_retouching_torch/__pycache__/ms_wrapper.cpython-310.pyc
CHANGED
|
Binary files a/modelscope_modules/cv_unet_skin_retouching_torch/__pycache__/ms_wrapper.cpython-310.pyc and b/modelscope_modules/cv_unet_skin_retouching_torch/__pycache__/ms_wrapper.cpython-310.pyc differ
|
|
|