Skip to content

[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

Merged
merged 11 commits into from
Feb 23, 2023

Conversation

DanShouzhu
Copy link
Contributor

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

  • docs/zh_cn/user_guides/finetune.md
  • docs/zh_cn/user_guides/inference.md
    Fixed
    Fixed a misspelling in inference.md
  • docs/en/user_guides/finetune.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

  1. Pre-commit or other linting tools are used to fix the potential lint issues.
  2. The modification is covered by complete unit tests. If not, please add more unit test to ensure the correctness.
  3. If the modification has potential influence on downstream projects, this PR should be tested with downstream projects, like MMDet or MMCls.
  4. The documentation has been modified accordingly, like docstring or example tutorials.

@CLAassistant
Copy link

CLAassistant commented Jan 5, 2023

CLA assistant check
All committers have signed the CLA.

@ZwwWayne ZwwWayne requested a review from zytx121 January 6, 2023 07:48
@ZwwWayne ZwwWayne added this to the 3.0.0rc6 milestone Jan 6, 2023
@ZwwWayne
Copy link
Collaborator

ZwwWayne commented Jan 6, 2023

Hi @DanShouzhu ,
Thanks for your kind contribution. Would you like to fix the lint issue so that we could merge this PR?
The details can be found by clicking the item of lint check as shown below
image

@DanShouzhu
Copy link
Contributor Author

DanShouzhu commented Jan 7, 2023

@zytx121
Thanks for your review and suggestions, all changes have been accepted.
However, it still did not pass tests, would you mind taking a look again?

@DanShouzhu
Copy link
Contributor Author

Hi @DanShouzhu , Thanks for your kind contribution. Would you like to fix the lint issue so that we could merge this PR? The details can be found by clicking the item of lint check as shown below image

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.

@ZwwWayne ZwwWayne requested a review from zytx121 January 9, 2023 04:46
Copy link
Contributor Author

@DanShouzhu DanShouzhu left a comment

Choose a reason for hiding this comment

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

Changes were accepted.

@BIGWangYuDong
Copy link
Collaborator

seems the lint has failed, please fix the lint
image

you can follow https://github.com/open-mmlab/mmcv/blob/master/CONTRIBUTING.md

@DanShouzhu
Copy link
Contributor Author

DanShouzhu commented Jan 15, 2023

@BIGWangYuDong

All checks have passed after using pre-commit.

Thank you so much!

@ZwwWayne ZwwWayne requested a review from triple-Mu January 30, 2023 05:11
@ZwwWayne
Copy link
Collaborator

ZwwWayne commented Feb 2, 2023

Hi @DanShouzhu ,
Is there any progress in this PR?

@DanShouzhu
Copy link
Contributor Author

DanShouzhu commented Feb 5, 2023

Hi @DanShouzhu , Is there any progress in this PR?

Hello Wayne,

I made some updates.

Could you do a code review for this PR?

Best Regards,
Cecil Dan

@ZwwWayne
Copy link
Collaborator

ZwwWayne commented Feb 6, 2023

Hi @DanShouzhu ,
The overall PR LGTM now and can be merged after fixing these small issues

@BIGWangYuDong
Copy link
Collaborator

Hi @DanShouzhu
please also add Objects365 in English documents. Thx!

@BIGWangYuDong
Copy link
Collaborator

This PR can be merged after fixing these small issues


asyncio.run(main())
jupyter notebook 上的演示样例在 [demo/inference_demo.ipynb](../../../demo/inference_demo.ipynb) 。
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
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)

image
Do not use relative links except for .md links. Otherwise readthedocs won't render correctly.

Copy link
Contributor Author

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.

Copy link
Collaborator

Choose a reason for hiding this comment

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

image
@DanShouzhu, Relative links in the corresponding English doc should also be modified.


## 演示样例

我们还提供了三个演示脚本,它们是使用高层编程接口实现的。 [源码在此](https://github.com/open-mmlab/mmdetection/tree/master/demo) 。
我们还提供了三个演示脚本,它们是使用高层编程接口实现的。 [源码在此](../../../demo) 。
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
我们还提供了三个演示脚本,它们是使用高层编程接口实现的。 [源码在此](../../../demo)
我们还提供了三个演示脚本,它们是使用高层编程接口实现的。 [源码在此](https://github.com/open-mmlab/mmdetection/tree/3.x/demo)

@DanShouzhu
Copy link
Contributor Author

Hi @DanShouzhu please also add Objects365 in English documents. Thx!

Thanks for your reminder, Objects365 has been added.

@ZwwWayne ZwwWayne requested a review from RangeKing February 16, 2023 13:10
Copy link
Collaborator

@RangeKing RangeKing left a 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.

@@ -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.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
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.

Copy link
Contributor Author

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?

Copy link
Collaborator

@RangeKing RangeKing left a comment

Choose a reason for hiding this comment

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

LGTM

@ZwwWayne ZwwWayne merged commit 2341347 into open-mmlab:dev-3.x Feb 23, 2023
@OpenMMLab-Assistant001
Copy link

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:)
Thank you again for your contribution!❤

yumion pushed a commit to yumion/mmdetection that referenced this pull request Jan 31, 2024
Signed-off-by: cecil_dan <danshouzhu@outlook.com>
Co-authored-by: Yue Zhou <592267829@qq.com>
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.

8 participants