"tools/vscode:/vscode.git/clone" did not exist on "eec40e4fa69a087c1a02091a8ddb74e18d2765ac"
Unverified Commit fd013a46 authored by xizaoqu's avatar xizaoqu Committed by GitHub
Browse files

[Fix] Fix seg eval test (#2264)

* fix seg_eval

* add test for the bug

* update

* update

* update

* fix test bug
parent 5a658d61
......@@ -32,8 +32,8 @@ def test_indoor_eval():
assert np.isclose(ret_value['car'], 0.428571429)
assert np.isclose(ret_value['bicycle'], 0.428571429)
assert np.isclose(ret_value['motorcycle'], 0.6666667)
assert np.isclose(ret_value['truck'], 0.6666667)
assert np.isclose(ret_value['truck'], 0.5)
assert np.isclose(ret_value['acc'], 0.7)
assert np.isclose(ret_value['acc_cls'], 0.7)
assert np.isclose(ret_value['miou'], 0.547619048)
assert np.isclose(ret_value['acc'], 0.65)
assert np.isclose(ret_value['acc_cls'], 0.65)
assert np.isclose(ret_value['miou'], 0.50595238)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment