-
Notifications
You must be signed in to change notification settings - Fork 9.7k
[Doc]: update user guide: "finetune.md, inference.md" #9578
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
Conversation
Hi @DanShouzhu , |
@zytx121 |
Sure, I have already applied the suggested code changes given by @zytx121. But, it still did not pass the test system, we will continue to deal with it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes were accepted.
seems the lint has failed, please fix the lint you can follow https://github.com/open-mmlab/mmcv/blob/master/CONTRIBUTING.md |
ce704b7
to
e00b311
Compare
All checks have passed after using pre-commit. Thank you so much! |
Hi @DanShouzhu , |
51df2d8
to
f7fb44a
Compare
Hello Wayne, I made some updates. Could you do a code review for this PR? Best Regards, |
Hi @DanShouzhu , |
Hi @DanShouzhu |
This PR can be merged after fixing these small issues |
docs/zh_cn/user_guides/inference.md
Outdated
|
||
asyncio.run(main()) | ||
jupyter notebook 上的演示样例在 [demo/inference_demo.ipynb](../../../demo/inference_demo.ipynb) 。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
jupyter notebook 上的演示样例在 [demo/inference_demo.ipynb](../../../demo/inference_demo.ipynb) 。 | |
jupyter notebook 上的演示样例在 [demo/inference_demo.ipynb](https://github.com/open-mmlab/mmdetection/blob/3.x/demo/inference_demo.ipynb) 。 |
Do not use relative links except for .md
links. Otherwise readthedocs won't render correctly.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your suggestions. And four relative paths in this file have been changed to static links.
But one thing that needs to be mentioned here is:
Relative links are used in the corresponding English version doc.
Thanks again.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@DanShouzhu, Relative links in the corresponding English doc should also be modified.
docs/zh_cn/user_guides/inference.md
Outdated
|
||
## 演示样例 | ||
|
||
我们还提供了三个演示脚本,它们是使用高层编程接口实现的。 [源码在此](https://github.com/open-mmlab/mmdetection/tree/master/demo) 。 | ||
我们还提供了三个演示脚本,它们是使用高层编程接口实现的。 [源码在此](../../../demo) 。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
我们还提供了三个演示脚本,它们是使用高层编程接口实现的。 [源码在此](../../../demo) 。 | |
我们还提供了三个演示脚本,它们是使用高层编程接口实现的。 [源码在此](https://github.com/open-mmlab/mmdetection/tree/3.x/demo) 。 |
02acda8
to
88e5ea0
Compare
Thanks for your reminder, Objects365 has been added. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR can be merged after modifying two relative links to absolute links in the English doc.
docs/en/user_guides/finetune.md
Outdated
@@ -56,7 +56,7 @@ model = dict( | |||
|
|||
## Modify dataset | |||
|
|||
The users may also need to prepare the dataset and write the configs about dataset, refer to [Customize Datasets](../advanced_guides/customize_dataset.md) for more detail. MMDetection V3.0 already supports VOC, WIDERFACE, COCO, LIVS, OpenImages, DeepFashion and Cityscapes Dataset. | |||
The users may also need to prepare the dataset and write the configs about dataset, refer to [Customize Datasets](../advanced_guides/customize_dataset.md) for more detail. MMDetection V3.0 already supports VOC, WIDERFACE, COCO, LIVS, OpenImages, DeepFashion, Objects365 and Cityscapes Dataset. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The users may also need to prepare the dataset and write the configs about dataset, refer to [Customize Datasets](../advanced_guides/customize_dataset.md) for more detail. MMDetection V3.0 already supports VOC, WIDERFACE, COCO, LIVS, OpenImages, DeepFashion, Objects365 and Cityscapes Dataset. | |
The users may also need to prepare the dataset and write the configs about dataset, refer to [Customize Datasets](../advanced_guides/customize_dataset.md) for more detail. MMDetection V3.0 already supports VOC, WIDERFACE, COCO, LIVS, OpenImages, DeepFashion, Objects365, and Cityscapes Dataset. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi there, thanks for your clarification.
Those relative links have been fixed, and the comma also has been added.
Could you take a quick look at the code?
…ke in inference.md in english.
Co-authored-by: Yue Zhou <592267829@qq.com>
Signed-off-by: cecil_dan <danshouzhu@outlook.com>
fix mistakes in comments.
fixed a mistake in the comments.
88e5ea0
to
9108fc1
Compare
9108fc1
to
9935c71
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Hi @DanShouzhu !First of all, we want to express our gratitude for your significant PR in the MMDet 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:) |
Signed-off-by: cecil_dan <danshouzhu@outlook.com> Co-authored-by: Yue Zhou <592267829@qq.com>
Thanks for your contribution and we appreciate it a lot. The following instructions would make your pull request more healthy and more easily get feedback. If you do not understand some items, don't worry, just make the pull request and seek help from maintainers.
Motivation
Update user guide based on English version.
Modification
Update
Two user guides were updated based on English version
Fixed
Fixed a misspelling in inference.md
BC-breaking (Optional)
Does the modification introduce changes that break the backward-compatibility of the downstream repos?
If so, please describe how it breaks the compatibility and how the downstream projects should modify their code to keep compatibility with this PR.
Use cases (Optional)
If this PR introduces a new feature, it is better to list some use cases here, and update the documentation.
Checklist