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

[Feature] add fwiou Metric to segmentation task #65

Merged
merged 4 commits into from
May 19, 2022
Merged

[Feature] add fwiou Metric to segmentation task #65

merged 4 commits into from
May 19, 2022

Conversation

huilin16
Copy link
Contributor

add fwiou Metric to segmentation task

@Bobholamovic
Copy link
Member

RandomFlipOrRotation好像忘记添加在operators.py__all__里,huilin哥可以顺便一起把这个bug修了~

@huilin16
Copy link
Contributor Author

huilin16 commented Apr 22, 2022 via email

@Bobholamovic Bobholamovic requested review from geoyee, LutaoChu and juncaipeng and removed request for LutaoChu April 28, 2022 02:26
@Bobholamovic
Copy link
Member

发现RandomFlipOrRotation的实现有误,无法处理多时相影像情况(变化检测任务),希望修复一下~

@huilin16
Copy link
Contributor Author

huilin16 commented May 7, 2022

发现RandomFlipOrRotation的实现有误,无法处理多时相影像情况(变化检测任务),希望修复一下~

新提交了个pr进行了修复

@@ -135,6 +135,37 @@ def mean_iou(intersect_area, pred_area, label_area):
return np.array(class_iou), miou


def fwiou(intersect_area, pred_area, label_area):
"""
Calculate iou.
Copy link
Member

Choose a reason for hiding this comment

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

下一个pr补充说明一下和普通iou的区别

@LutaoChu LutaoChu merged commit 5932d18 into PaddleCV-SIG:develop May 19, 2022
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.

3 participants