slwang9353 / MobileFormer

MobileFormer in torch
66 stars 13 forks source link

fps is fluctuates #10

Open wsy-yjys opened 1 year ago

wsy-yjys commented 1 year ago

Each line of data below is the result of averaging 100 by using model inference, but the result still fluctuates. Which value should I take?

# {'fps': 63.5, 'time_mean': 15.7, 'time_std': 0.5}
# {'fps': 62.8, 'time_mean': 15.9, 'time_std': 0.1}
# {'fps': 64.9, 'time_mean': 15.4, 'time_std': 0.2}
# {'fps': 63.6, 'time_mean': 15.7, 'time_std': 0.1}
# {'fps': 64.5, 'time_mean': 15.5, 'time_std': 0.1}
# {'fps': 64.1, 'time_mean': 15.6, 'time_std': 0.2}
# {'fps': 61.2, 'time_mean': 16.3, 'time_std': 0.1}
# {'fps': 62.2, 'time_mean': 16.1, 'time_std': 0.1}
# {'fps': 63.7, 'time_mean': 15.7, 'time_std': 0.4}
# {'fps': 65.0, 'time_mean': 15.4, 'time_std': 0.1}
# {'fps': 63.9, 'time_mean': 15.7, 'time_std': 0.1}
# {'fps': 63.9, 'time_mean': 15.7, 'time_std': 0.1}
# {'fps': 61.1, 'time_mean': 16.4, 'time_std': 0.5}
# {'fps': 64.2, 'time_mean': 15.6, 'time_std': 0.7}