Skip to content

Commit

Permalink
update readmes (#372)
Browse files Browse the repository at this point in the history
  • Loading branch information
SamitHuang authored Dec 30, 2022
1 parent c7e7066 commit 974463d
Show file tree
Hide file tree
Showing 13 changed files with 13 additions and 140 deletions.
12 changes: 8 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,13 +91,15 @@ MindSpore can be easily installed by following the official [instruction](https:

The following instructions assume the desired dependency is fulfilled.

### Install with pip
The released version of MindCV can be installed via `pip` as follows:
### Install with PyPI

The released version of MindCV can be installed via `PyPI` as follows:
```shell
pip install mindcv
```

### Install from source
### Install from Source

The latest version of MindCV can be installed as follows:
```shell
pip install git+https://github.com/mindspore-lab/mindcv.git
Expand Down Expand Up @@ -197,7 +199,7 @@ It is easy to validate a trained model with `validate.py`.
python validate.py --model=resnet50 --dataset=imagenet --val_split=validation --ckpt_path='./ckpt/densenet121-best.ckpt'
```

- Pynative mode with ms_function (Experiental)
- Pynative mode with ms_function (Experimental)

By default, the training pipeline (`train.py`) is run in [graph mode](https://www.mindspore.cn/tutorials/zh-CN/r1.8/advanced/pynative_graph/mode.html), which is optimized for efficienty and speed but may not be flexible enough for debugging. You may alter the parameter `--mode` to switch to pure pynative mode for debugging purpose.

Expand All @@ -206,6 +208,8 @@ By default, the training pipeline (`train.py`) is run in [graph mode](https://ww
``` shell
python train_with_func.py --model=resnet50 --dataset=cifar10 --dataset_download --epoch_size=10
```
>Note: `train_with_func.py` is an experimental training pipeline and is less stable than `train.py`. It will be improved after MindSpore 2.0 released.

For more examples, see [examples/scripts](examples/scripts).

Expand Down
8 changes: 5 additions & 3 deletions README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,10 @@ pip install -r requirements.txt

之后的说明将默认用户已正确安装好相关依赖。

### pip安装
### PyPI安装

MindCV的已发布版本可以通过PyPI安装。

MindCV的已发布版本可以通过pip安装。

```shell
pip install https://github.com/mindspore-lab/mindcv/releases/download/v0.0.1-beta/mindcv-0.0.1b0-py3-none-any.whl
Expand Down Expand Up @@ -133,7 +134,7 @@ pip install git+https://github.com/mindspore-lab/mindcv.git
**图片分类示例**

<p align="left">
<img src="./tutorials/data/test/dog/dog.jpg" width=360 />
<img src="https://user-images.githubusercontent.com/8156835/210049681-89f68b9f-eb44-44e2-b689-4d30c93c6191.jpg" width=360 />
</p>

使用加载了预训练参数的SoTA模型对一张图片进行推理。
Expand Down Expand Up @@ -214,6 +215,7 @@ python validate.py --model resnet50 --dataset imagenet --val_split validation --
```shell
python train_with_func.py --model resnet50 --dataset cifar10 --dataset_download --epoch_size 10
```
> `train_with_func.py`为试验性的训练脚本,待MindSpore 2.0发布后改进。
更多样例请参见[examples/scripts](examples/scripts)

Expand Down
Binary file removed configs/googlenet/GoogLeNet网络.jpg
Binary file not shown.
19 changes: 0 additions & 19 deletions configs/googlenet/README.md

This file was deleted.

Binary file removed configs/inception_v3/InceptionV3网络.jpg
Binary file not shown.
20 changes: 0 additions & 20 deletions configs/inception_v3/README.md

This file was deleted.

Binary file removed configs/inception_v4/InceptionV4.jpg
Binary file not shown.
17 changes: 0 additions & 17 deletions configs/inception_v4/README.md

This file was deleted.

23 changes: 0 additions & 23 deletions configs/repvgg/README.md

This file was deleted.

20 changes: 0 additions & 20 deletions configs/sknet/README.md

This file was deleted.

20 changes: 0 additions & 20 deletions configs/xception/README.md

This file was deleted.

14 changes: 0 additions & 14 deletions configs/xception/README_CN.md

This file was deleted.

Binary file removed configs/xception/Xception.jpg
Binary file not shown.

0 comments on commit 974463d

Please sign in to comment.