rm with-mask config and log .2f for timer.py (#208)
parent
acf1dc5d88
commit
45a623966f
|
@ -1,4 +1,6 @@
|
|||
_base_ = ['../_base_/mask_base_dynamic.py', '../../_base_/backends/ppl.py']
|
||||
_base_ = [
|
||||
'../_base_/base_instance-seg_dynamic.py', '../../_base_/backends/ppl.py'
|
||||
]
|
||||
|
||||
onnx_config = dict(input_shape=(1344, 800))
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
_base_ = [
|
||||
'../_base_/base_instance-seg_dynamic.py', '../../_base_/backends/ppl.py'
|
||||
]
|
|
@ -1,5 +0,0 @@
|
|||
_base_ = [
|
||||
'../_base_/base_instance-seg_static.py', '../../_base_/backends/ppl.py'
|
||||
]
|
||||
|
||||
codebase_config = dict(post_processing=dict(export_postprocess_mask=True))
|
|
@ -72,7 +72,7 @@ class TimeCounter:
|
|||
times_per_count = 1000 * execute_time / (
|
||||
count - warmup)
|
||||
msg = f'[{func.__name__}]-{count} times per count: '\
|
||||
f'{times_per_count:.1f} ms, '\
|
||||
f'{times_per_count:.2f} ms, '\
|
||||
f'{1000/times_per_count:.2f} FPS'
|
||||
if cls.file != sys.stdout:
|
||||
msg += '\n'
|
||||
|
|
Loading…
Reference in New Issue