mirror of
https://github.com/modelscope/modelscope.git
synced 2025-12-16 16:27:45 +01:00
update readme
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
<h4 align="center">
|
||||
<p>
|
||||
<b>English</b> |
|
||||
<a href="https://github.com/modelscope/modelscope/blob/master/README_zh.md">中文</a> |
|
||||
<a href="https://github.com/modelscope/modelscope/blob/master/README_zh.md">中文</a>
|
||||
<p>
|
||||
</h4>
|
||||
|
||||
@@ -42,7 +42,7 @@ Hundreds of models are made publicly available on ModelScope (600+ and counting)
|
||||
|
||||
<p align="center">
|
||||
<br>
|
||||
<img src="https://modelscope.oss-cn-beijing.aliyuncs.com/resource/inference.gif" width="1024"/>
|
||||
<img src="data/resource/inference.gif" width="1024"/>
|
||||
<br>
|
||||
<p>
|
||||
|
||||
@@ -131,7 +131,7 @@ For any given task with any type of input (image, text, audio, video...), infere
|
||||
|
||||
Given an image, you can use following code to cut out the human.
|
||||
|
||||

|
||||

|
||||
|
||||
```python
|
||||
>>> import cv2
|
||||
@@ -142,7 +142,7 @@ Given an image, you can use following code to cut out the human.
|
||||
>>> cv2.imwrite('result.png', result['output_img'])
|
||||
```
|
||||
The output image is
|
||||

|
||||

|
||||
|
||||
For finetuning and evaluation, you need ten more lines of code to construct dataset and trainer, and by calling `traner.train()` and
|
||||
`trainer.evaluate()` you can finish finetuning and evaluating a certain model.
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
<h4 align="center">
|
||||
<p>
|
||||
<a href="https://github.com/modelscope/modelscope/blob/master/README.md">English</a> |
|
||||
<b>中文</b> |
|
||||
<b>中文</b>
|
||||
<p>
|
||||
</h4>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user