Skip to content

Commit 4aa253a

Browse files
committed
update readme nad version
1 parent 6f257b6 commit 4aa253a

File tree

3 files changed

+21
-25
lines changed

3 files changed

+21
-25
lines changed

readme.md

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ Your improvements and suggestions are welcome.
1818

1919
### Related Projects
2020

21-
* A Python-based salient object detection and video object segmentation evaluation toolbox. <https://github.com/lartpang/Py-SOD-VOS-EvalToolkit>
21+
- A Python-based salient object detection and video object segmentation evaluation toolbox. <https://github.com/lartpang/Py-SOD-VOS-EvalToolkit>
2222

2323
## TODO List
2424

25-
* [X] Speed up the calculation of Emeasure.
26-
* [X] Add the necessary documentation for different functions.
25+
- [x] Speed up the calculation of Emeasure.
26+
- [x] Add the necessary documentation for different functions.
2727

2828
## Compared with Matlab Code from Fan <https://github.com/DengPingFan/CODToolbox>
2929

@@ -36,10 +36,8 @@ matlab: Smeasure:0.903; wFmeasure:0.558; MAE:0.037; adpEm:0.941; meanEm:0.957; m
3636

3737
**NOTE**
3838

39-
The matlab code based here <https://github.com/DengPingFan/CODToolbox/blob/910358910c7824a4237b0ea689ac9d19d1958d11/Onekey_Evaluation_Code/OnekeyEvaluationCode/main.m#L102>
40-
needs to change `Bi_sal(sal>threshold)=1;` to `Bi_sal(sal>=threshold)=1;`.
41-
42-
For related discussion, please see: <https://github.com/DengPingFan/CODToolbox/issues/1>
39+
- The matlab code based here <https://github.com/DengPingFan/CODToolbox/blob/910358910c7824a4237b0ea689ac9d19d1958d11/Onekey_Evaluation_Code/OnekeyEvaluationCode/main.m#L102> needs to change `Bi_sal(sal>threshold)=1;` to `Bi_sal(sal>=threshold)=1;`. For related discussion, please see: <https://github.com/DengPingFan/CODToolbox/issues/1>
40+
- 2021-12-20 (version `1.3.0`): Due to the difference between numpy and matlab, in version `1.2.x`, there are very slight differences on some metrics between the results of the matlab code and ours. The recent PR (https://github.com/lartpang/PySODMetrics/pull/3) alleviated this problem. However, there are still very small differences on E-measure. The results in most papers are rounded off to three or four significant figures, so, there is no obvious difference between the new version and the version `1.2.x` for them.
4341

4442
## Usage
4543

@@ -61,13 +59,13 @@ pip install pysodmetrics
6159

6260
### Examples
6361

64-
* <./examples/test_metrics.py>
65-
* <./examples/metric_recorder.py>
62+
- <./examples/test_metrics.py>
63+
- <./examples/metric_recorder.py>
6664

6765
## Thanks
6866

69-
* <https://github.com/DengPingFan/CODToolbox>
70-
- By DengPingFan(<https://github.com/DengPingFan>)
67+
- <https://github.com/DengPingFan/CODToolbox>
68+
- By DengPingFan(<https://github.com/DengPingFan>)
7169

7270
## Reference
7371

readme_zh.md

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,22 @@
55

66
## 介绍
77

8-
一份简单有效的SOD指标实现
8+
一份简单有效的 SOD 指标实现
99

1010
- 基于`numpy`和极少量`scipy.ndimage`代码
11-
- 基于DengPing Fan <https://github.com/DengPingFan/CODToolbox>
11+
- 基于 DengPing Fan <https://github.com/DengPingFan/CODToolbox>
1212
- 结构简单,易于扩展
1313
- 代码轻量且快速
1414

1515
欢迎您的改进和建议。
1616

1717
### 相关项目
1818

19-
* A Python-based salient object detection and video object segmentation evaluation toolbox. <https://github.com/lartpang/Py-SOD-VOS-EvalToolkit>
19+
- A Python-based salient object detection and video object segmentation evaluation toolbox. <https://github.com/lartpang/Py-SOD-VOS-EvalToolkit>
2020

21-
## 与范的Matlab代码的比较 <https://github.com/DengPingFan/CODToolbox>
21+
## 与范的 Matlab 代码的比较 <https://github.com/DengPingFan/CODToolbox>
2222

23-
在我们的测试中 (测试代码可见`test`文件夹下内容),结果与Fan的代码一致,如下:
23+
在我们的测试中 (测试代码可见`test`文件夹下内容),结果与 Fan 的代码一致,如下:
2424

2525
```text
2626
ours: Smeasure:0.903; wFmeasure:0.558; MAE:0.037; adpEm:0.941; meanEm:0.957; maxEm:0.967; adpFm:0.582; meanFm:0.577; maxFm:0.589
@@ -29,10 +29,8 @@ matlab: Smeasure:0.903; wFmeasure:0.558; MAE:0.037; adpEm:0.941; meanEm:0.957; m
2929

3030
**注意**
3131

32-
此处基于的matlab代码需要将<https://github.com/DengPingFan/CODToolbox/blob/910358910c7824a4237b0ea689ac9d19d1958d11/Onekey_Evaluation_Code/OnekeyEvaluationCode/main.m#L102>
33-
`Bi_sal(sal>threshold)=1;`改为` Bi_sal(sal>=threshold)=1;`
34-
35-
相关讨论见:<https://github.com/DengPingFan/CODToolbox/issues/1>
32+
- 此处基于的 matlab 代码需要将<https://github.com/DengPingFan/CODToolbox/blob/910358910c7824a4237b0ea689ac9d19d1958d11/Onekey_Evaluation_Code/OnekeyEvaluationCode/main.m#L102>`Bi_sal(sal>threshold)=1;`改为` Bi_sal(sal>=threshold)=1;`。相关讨论见:<https://github.com/DengPingFan/CODToolbox/issues/1>
33+
- 2021-12-20 (Version `1.3.0`):由于 numpy 和 matlab 的不同,在 `1.2.x` 版本中,matlab 代码的结果与我们的结果在某些指标上存在非常细微的差异。最近的 PR (https://github.com/lartpang/PySODMetrics/pull/3) 缓解了这个问题。但是,在 E-measure 上仍然存在非常小的差异。大多数论文中的结果都四舍五入到三四位有效数字,因此,新版本与“1.2.x”版本之间没有明显差异。
3634

3735
## 使用
3836

@@ -54,13 +52,13 @@ pip install pysodmetrics
5452

5553
### 示例
5654

57-
* <examples/metric_recorder.py>
58-
* <examples/test_metrics.py>
55+
- <examples/metric_recorder.py>
56+
- <examples/test_metrics.py>
5957

6058
## 感谢
6159

62-
* <https://github.com/DengPingFan/CODToolbox>
63-
- By DengPingFan(<https://github.com/DengPingFan>)
60+
- <https://github.com/DengPingFan/CODToolbox>
61+
- By DengPingFan(<https://github.com/DengPingFan>)
6462

6563
## 参考文献
6664

version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.2.4
1+
1.3.0

0 commit comments

Comments
 (0)