-
Notifications
You must be signed in to change notification settings - Fork 237
Refactor benchmark #148
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
Refactor benchmark #148
Conversation
When trying to run benchmarks on all models, I found the quantized PP-HumanSeg and quantized LPD-YuNet are not supported by OpenCV DNN:
Looks like operator |
add --all for benchmarking all configs at a time
…int8 quantized models
Benchmark results on new hardware will be added in other PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@@ -8,8 +8,8 @@ class Tracking(BaseMetric): | |||
def __init__(self, **kwargs): | |||
super().__init__(**kwargs) | |||
|
|||
if self._warmup or self._repeat: | |||
print('warmup and repeat in metric for tracking do not function.') | |||
# if self._warmup or self._repeat: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
👍 |
* use mean as default for benchmark metric; change result representation; add --all for benchmarking all configs at a time * fix comments * add --model_exclude * pretty print * improve benchmark result table header: from band-xpu to xpu-band * suppress print message * update benchmark results on CPU-RPI * add the new benchmark results on the new intel cpu * fix backend and target setting in benchmark; pre-modify the names of int8 quantized models * add results on jetson cpu * add cuda results * print target and backend when using --all * add results on Khadas VIM3 * pretty print results * true pretty print results * update results in new format * fix broken backend and target vars * fix broken backend and target vars * fix broken backend and target var * update benchmark results on many devices * add db results on Ascend-310 * update info on CPU-INTEL * update usage of the new benchmark script
Changes:
--all
and--cfg_exclude
to run all benchmarks in one command with exclusions: