Skip to content

Commit

Permalink
Update verify_performance.py (Please merge after the submission deadl…
Browse files Browse the repository at this point in the history
…ine) (#1463)

* Update verify_performance.py

Currently this check is meaningless

* Update verify_performance.py

---------

Co-authored-by: Mitchelle Rasquinha <80070689+mrasquinha-g@users.noreply.github.com>
  • Loading branch information
arjunsuresh and mrasquinha-g authored Sep 20, 2023
1 parent dc5d4fc commit b00fc19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compliance/nvidia/TEST05/verify_performance.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ def main():
(ref_mode == "MultiStream" and float(ref_score) <= 1600000):
threshold = 0.20

if float(test_score) < float(ref_score) * (1 + threshold):
if (ref_mode == "Offline" and float(test_score) > float(ref_score) * (1 - threshold)) or ("Stream" in ref_mode and float(test_score) < float(ref_score) * (1 + threshold)):
print("TEST PASS")
else:
print("TEST FAIL: Test score invalid")
Expand Down

0 comments on commit b00fc19

Please # to comment.