Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

install.md文件英译中 #364

Merged
merged 4 commits into from
Sep 14, 2021
Merged

Conversation

A465539338
Copy link
Contributor

文件汉化

@CLAassistant
Copy link

CLAassistant commented Jul 13, 2021

CLA assistant check
All committers have signed the CLA.

@codecov
Copy link

codecov bot commented Jul 13, 2021

Codecov Report

Merging #364 (143a2c5) into main (76c9570) will decrease coverage by 0.84%.
The diff coverage is n/a.

❗ Current head 143a2c5 differs from pull request most recent head 6346169. Consider uploading reports for the commit 6346169 to get more accurate results
Impacted file tree graph

@@            Coverage Diff             @@
##             main     #364      +/-   ##
==========================================
- Coverage   85.70%   84.85%   -0.85%     
==========================================
  Files         142      136       -6     
  Lines        9532     9100     -432     
  Branches     1365     1281      -84     
==========================================
- Hits         8169     7722     -447     
- Misses       1047     1076      +29     
+ Partials      316      302      -14     
Flag Coverage Δ
unittests 84.85% <ø> (-0.85%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
mmocr/models/textdet/dense_heads/db_head.py 30.00% <0.00%> (-70.00%) ⬇️
mmocr/datasets/pipelines/kie_transforms.py 28.57% <0.00%> (-26.20%) ⬇️
mmocr/models/textdet/detectors/dbnet.py 75.00% <0.00%> (-25.00%) ⬇️
mmocr/models/ner/encoders/bert_encoder.py 75.00% <0.00%> (-25.00%) ⬇️
mmocr/models/kie/extractors/sdmgr.py 83.33% <0.00%> (-16.67%) ⬇️
mmocr/models/ner/decoders/fc_decoder.py 85.18% <0.00%> (-14.82%) ⬇️
mmocr/models/textdet/losses/db_loss.py 15.78% <0.00%> (-12.22%) ⬇️
...ls/textdet/detectors/single_stage_text_detector.py 90.47% <0.00%> (-9.53%) ⬇️
mmocr/core/mask.py 90.90% <0.00%> (-6.82%) ⬇️
mmocr/models/textrecog/encoders/sar_encoder.py 82.14% <0.00%> (-5.62%) ⬇️
... and 131 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 76c9570...6346169. Read the comment docs.

Copy link
Collaborator

@gaotongxiao gaotongxiao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

谢谢!在此有两点通用的建议:

  1. Pytorch -> PyTorch
  2. 在中文与英文之间插入空格,排版上会更美观

此外一些链接的名字也要尽可能进行翻译,我已经在相应的地方给出了建议。您可以根据建议酌情修改。


```shell
conda create -n open-mmlab python=3.7 -y
conda activate open-mmlab
```

b. Install PyTorch and torchvision following the [official instructions](https://pytorch.org/), e.g.,
b. 按照Pytorch官网教程安装Pytorch和torchvision。[official instructions](https://pytorch.org/), 例如,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

按照 PyTorch 官网教程安装 PyTorch 和 torchvision(参见官方链接), 例如,


```shell
conda install pytorch==1.5.0 torchvision==0.6.0 cudatoolkit=10.1 -c pytorch
```
Note: Make sure that your compilation CUDA version and runtime CUDA version match.
You can check the supported CUDA version for precompiled packages on the [PyTorch website](https://pytorch.org/).
注意:确定CUDA编译版本和运行版本一致。你可以在Pytorch官网检查预编译Pytorch所支持的CUDA版本[PyTorch website](https://pytorch.org/)。
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

注意:确定 CUDA 编译版本和运行版本一致。你可以在 PyTorch 官网检查预编译 PyTorch 所支持的 CUDA 版本。


See official [installation](https://github.com/open-mmlab/mmcv#installation) for different versions of MMCV compatible to different PyTorch and CUDA versions.
如有需要,可以在[installation](https://github.com/open-mmlab/mmcv#installation) 检查mmcv与CUDA和Pytorch的版本对应关系。
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

如有需要,可以在此处检查 mmcv 与 CUDA 和 PyTorch 的版本对应关系。

d. Install [mmdet](https://github.com/open-mmlab/mmdetection.git), we recommend you to install the latest `mmdet` with pip.
See [here](https://pypi.org/project/mmdet/) for different versions of `mmdet`.
d. 安装 [mmdet](https://github.com/open-mmlab/mmdetection.git), 我们推荐使用pip安装最新版 `mmdet`
[here](https://pypi.org/project/mmdet/) 可以查看`mmdet`版本信息.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

此处可以查看 mmdet 版本信息.


```shell
pip install mmdet==2.11.0
```

Optionally you can choose to install `mmdet` following the official [installation](https://github.com/open-mmlab/mmdetection/blob/master/docs/get_started.md).
或者,你也可以按照[installation](https://github.com/open-mmlab/mmdetection/blob/master/docs/get_started.md)中的方法安装 `mmdet` 。
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

或者,你也可以按照安装指南中的方法安装 mmdet

docs_zh_CN/install.md Outdated Show resolved Hide resolved
@gaotongxiao
Copy link
Collaborator

gaotongxiao commented Jul 20, 2021

@A465539338 直接往A465539338-patch-1上push修改即可

@gaotongxiao gaotongxiao merged commit 38bdc10 into open-mmlab:main Sep 14, 2021
gaotongxiao added a commit to gaotongxiao/mmocr that referenced this pull request Jul 15, 2022

Co-authored-by: Tong Gao <gaotongxiao@gmail.com>
gaotongxiao added a commit to gaotongxiao/mmocr that referenced this pull request Jul 15, 2022

Co-authored-by: Tong Gao <gaotongxiao@gmail.com>
@OpenMMLab-Coodinator
Copy link

Hi @A465539338 !First of all, we want to express our gratitude for your significant PR in this project. Your contribution is highly appreciated, and we are grateful for your efforts in helping improve this open-source project during your personal time. We believe that many developers will benefit from your PR.

We would also like to invite you to join our Special Interest Group (SIG) private channel on Discord, where you can share your experiences, ideas, and build connections with like-minded peers. To join the SIG channel, simply message moderator— OpenMMLab on Discord or briefly share your open-source contributions in the #introductions channel and we will assist you. Look forward to seeing you there! Join us :https://discord.gg/UjgXkPWNqA

If you have WeChat account,welcome to join our community on WeChat. You can add our assistant :openmmlabwx. Please add "mmsig + Github ID" as a remark when adding friends:)
Thank you again for your contribution❤

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants