游雁
2023-04-20 02d1207ff4d91854fe9a74c70d99381f3384d17f
docs
1个文件已修改
2个文件已添加
69 ■■■■■ 已修改文件
docs/application 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
docs/docker.md 58 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
docs/index.rst 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
docs/application
New file
@@ -0,0 +1,5 @@
## Audio Cut
## Realtime Speech Recognition
## Audio Chat
docs/docker.md
New file
@@ -0,0 +1,58 @@
# Docker
## Install
### Ubuntu
```shell
curl -fsSL https://test.docker.com -o test-docker.sh
sudo sh test-docker.sh
```
### Debian
```shell
 curl -fsSL https://get.docker.com -o get-docker.sh
 sudo sh get-docker.sh
```
### CentOS
```shell
curl -fsSL https://get.docker.com | bash -s docker --mirror Aliyun
```
### Windows
Ref to [docs](https://docs.docker.com/desktop/install/windows-install/)
## Start Docker
```shell
sudo systemctl start docker
```
## Download image
### Image
#### CPU
`registry.cn-hangzhou.aliyuncs.com/modelscope-repo/modelscope:ubuntu20.04-py37-torch1.11.0-tf1.15.5-1.5.0`
#### GPU
`registry.cn-hangzhou.aliyuncs.com/modelscope-repo/modelscope:ubuntu20.04-cuda11.3.0-py37-torch1.11.0-tf1.15.5-1.5.0'
### Pull Image
```shell
sudo docker pull <image-name>:<tag>
```
### Check Downloaded Image
```shell
sudo docker images
```
### Run Docker
```shell
sudo docker run -it <image-name>:<tag> bash
```
### Stop Docker
```shell
sudo docker ps
sudo docker stop <container-id>
```
docs/index.rst
@@ -77,6 +77,12 @@
.. toctree::
   :maxdepth: 1
   :caption: Application
   ./application.md
.. toctree::
   :maxdepth: 1
   :caption: FQA
   ./FQA.md