Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

CodeCamp #139 [Feature] Support REFUGE dataset.#2554

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
MeowZheng merged 14 commits intoopen-mmlab:dev-1.xfromliuruiqiang:new_refuge
Feb 3, 2023

Conversation

@liuruiqiang
Copy link
Contributor

@liuruiqiangliuruiqiang commentedFeb 2, 2023
edited by MengzhangLI
Loading

Motivation

Add REFUGE datasets
Old PR:#2420

│ ├── __MACOSX
```

To convert REFUGE dataset to MMSegmentation format, you should run the following command:
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
To convert REFUGE dataset to MMSegmentation format, you shouldrun the following command:
Pleaserun the following command to convert REFUGE dataset:

@MengzhangLI
Copy link
Contributor

Please also add unit test image & annotation from#2420

image

Using command below:

git add tests/data/pseudo_refuge_dataset/img_dir/pseudo_g0001.pnggit add tests/data/pseudo_refuge_dataset/ann_dir/pseudo_g0001.png

@codecov
Copy link

codecovbot commentedFeb 2, 2023
edited
Loading

Codecov Report

Base:83.25% // Head:83.27% // Increases project coverage by+0.01% 🎉

Coverage data is based on head(2d26d87) compared to base(7ac0888).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@             Coverage Diff             @@##           dev-1.x    #2554      +/-   ##===========================================+ Coverage    83.25%   83.27%   +0.01%===========================================  Files          145      146       +1       Lines         8505     8515      +10       Branches      1273     1274       +1     ===========================================+ Hits          7081     7091      +10  Misses        1213     1213                Partials       211      211
FlagCoverage Δ
unittests83.27% <100.00%> (+0.01%)⬆️

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

Impacted FilesCoverage Δ
mmseg/datasets/__init__.py100.00% <100.00%> (ø)
mmseg/datasets/refuge.py100.00% <100.00%> (ø)
mmseg/datasets/transforms/transforms.py89.49% <0.00%> (ø)

Help us with your feedback. Take ten seconds to tell ushow you rate us. Have a feature suggestion?Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment?Let us know in this issue.

Comment on lines 419 to 421
首先,去[REFUGE 挑战赛官网](https://refuge.grand-challenge.org)注册后, 在指定[链接](https://refuge.grand-challenge.org/REFUGE2Download) 下载 REFUGE 数据集.

随后解压`REFUGE2.zip` 然后得到如下所示的原始数据目录.
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
首先,去[REFUGE 挑战赛官网](https://refuge.grand-challenge.org)注册后, 在指定[链接](https://refuge.grand-challenge.org/REFUGE2Download) 下载 REFUGE 数据集.
随后解压`REFUGE2.zip` 然后得到如下所示的原始数据目录.
[官网](https://refuge.grand-challenge.org)注册后, 下载[REFUGE 数据集](https://refuge.grand-challenge.org/REFUGE2Download)`REFUGE2.zip` , 解压后的内容如下:

│ ├── __MACOSX
```

为了将 REFUGE 数据集转换成 MMSegmentation 格式, 您需要运行如下命令:
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
为了将 REFUGE 数据集转换成 MMSegmentation 格式, 您需要运行如下命令:
运行如下命令,就可以按照 REFUGE2018 挑战赛划分数据集的标准将数据集切分成训练集、验证集、测试集:

│ │ │ ├── test
```

就可以按照 REFUGE2018 挑战赛划分数据集的标准, 将数据集切分 400 张图片的训练集, 400 张图片的验证集和 400 张图片的测试集.
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
就可以按照 REFUGE2018 挑战赛划分数据集的标准, 将数据集切分 400 张图片的训练集, 400 张图片的验证集和 400 张图片的测试集.
其中包括 400 张图片的训练集, 400 张图片的验证集和 400 张图片的测试集.

@MeowZhengMeowZheng merged commit49b062e intoopen-mmlab:dev-1.xFeb 3, 2023
nahidnazifi87 pushed a commit to nahidnazifi87/mmsegmentation_playground that referenced this pull requestApr 5, 2024
…#2554)## Motivation Add REFUGE datasetsOld PR:open-mmlab#2420---------Co-authored-by: MengzhangLI <mcmong@pku.edu.cn>
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@MeowZhengMeowZhengMeowZheng approved these changes

+1 more reviewer

@MengzhangLIMengzhangLIMengzhangLI left review comments

Reviewers whose approvals may not affect merge requirements

Assignees

@MengzhangLIMengzhangLI

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@liuruiqiang@MengzhangLI@MeowZheng

[8]ページ先頭

©2009-2025 Movatter.jp