未验证 提交 7dbfc017 编写于 作者: L littletomatodonkey 提交者: GitHub

Update whl_en.md

上级 b7371a2a
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
install by pypi install by pypi
```bash ```bash
pip install paddleclas==2.0.1 pip install paddleclas==2.0.2
``` ```
build own whl package and install build own whl package and install
...@@ -73,7 +73,7 @@ paddleclas --model_name=ResNet50 --top_k=5 --image_file='docs/images/whl/demo.jp ...@@ -73,7 +73,7 @@ paddleclas --model_name=ResNet50 --top_k=5 --image_file='docs/images/whl/demo.jp
* pre_label_image(bool): whether prelabel or not, default=False. * pre_label_image(bool): whether prelabel or not, default=False.
* pre_label_out_idr(str): If prelabeling, the path of output. * pre_label_out_idr(str): If prelabeling, the path of output.
**Note**: If you want to use `Transformer series models`, such as `DeiT_***_384`, `ViT_***_384`, etc., please pay attention to the input size of model, and need to set `resize_short=384`, `reize=384` when building a `PaddleClas` object. The following is a demo. **Note**: If you want to use `Transformer series models`, such as `DeiT_***_384`, `ViT_***_384`, etc., please pay attention to the input size of model, and need to set `resize_short=384`, `resize=384` when building a `PaddleClas` object. The following is a demo.
```python ```python
clas = PaddleClas(model_name='ViT_base_patch16_384', top_k=5, resize_short=384, resize=384) clas = PaddleClas(model_name='ViT_base_patch16_384', top_k=5, resize_short=384, resize=384)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册