Browse Source

modify yolov3 test case

tags/v1.2.0-rc1
chengxianbin 4 years ago
parent
commit
5afa307d7e
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      tests/st/model_zoo_tests/yolov3/test_yolov3.py

+ 1
- 1
tests/st/model_zoo_tests/yolov3/test_yolov3.py View File

@@ -139,7 +139,7 @@ def test_yolov3():
# assertion occurs while the loss value, overflow state or loss_scale value is wrong # assertion occurs while the loss value, overflow state or loss_scale value is wrong
loss_value = np.array(model_callback.loss_list) loss_value = np.array(model_callback.loss_list)


expect_loss_value = [6800, 4200, 2700]
expect_loss_value = [6850, 4250, 2750]
print("loss value: {}".format(loss_value)) print("loss value: {}".format(loss_value))
assert loss_value[0] < expect_loss_value[0] assert loss_value[0] < expect_loss_value[0]
assert loss_value[1] < expect_loss_value[1] assert loss_value[1] < expect_loss_value[1]


Loading…
Cancel
Save