update readmecn

This commit is contained in:
wenmeng.zwm
2023-02-18 11:35:30 +08:00
parent 504bdccdc2
commit fc9fed5fb5
4 changed files with 9 additions and 3 deletions

View File

@@ -41,7 +41,7 @@ ModelScope开源了数百个(当前600+)模型,涵盖自然语言处理、计
<p align="center"> <p align="center">
<br> <br>
<img src="https://modelscope.oss-cn-beijing.aliyuncs.com/resource/inference.gif" width="1024"/> <img src="data/resource/inference.gif" width="1024"/>
<br> <br>
<p> <p>
@@ -129,7 +129,7 @@ ModelScope开源了数百个(当前600+)模型,涵盖自然语言处理、计
给定一张图片,你可以使用如下代码进行人像抠图. 给定一张图片,你可以使用如下代码进行人像抠图.
![image](https://resouces.modelscope.cn/document/docdata/2023-2-16_20:53/dist/ModelScope%20Library%E6%95%99%E7%A8%8B/resources/1656989748829-9ab3aa9b-461d-44f8-98fb-c85bc6f670f9.png) ![image](data/resource/portrait_input.png)
```python ```python
>>> import cv2 >>> import cv2
@@ -140,7 +140,7 @@ ModelScope开源了数百个(当前600+)模型,涵盖自然语言处理、计
>>> cv2.imwrite('result.png', result['output_img']) >>> cv2.imwrite('result.png', result['output_img'])
``` ```
输出图像如下 输出图像如下
![image](https://resouces.modelscope.cn/document/docdata/2023-2-16_20:53/dist/ModelScope%20Library%E6%95%99%E7%A8%8B/resources/1656989768092-5470f8ac-cda8-4703-ac98-dbb6fd675b34.png) ![image](data/resource/portrait_output.png)
对于微调和评估模型, 你需要通过十多行代码构建dataset和trainer调用`trainer.train()``trainer.evaluate()`即可。 对于微调和评估模型, 你需要通过十多行代码构建dataset和trainer调用`trainer.train()``trainer.evaluate()`即可。

BIN
data/resource/inference.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.8 MiB

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:af83a94899a6d23339c3ecc5c4c58c57c835af57b531a2f4c50461184f820141
size 603621

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:28f6d784547c295711f1a8b7c83cf7e8d19b6361de56e9a69667fc9c9b8a429a
size 661491