当前位置:网站首页>Target detection model size calculation, model complexity (parameter conversion formula)
Target detection model size calculation, model complexity (parameter conversion formula)
2022-07-19 09:13:00 【Pure SS】
Target detection model size calculation , Model complexity ( Parameter conversion formula )
Recently, when doing target detection, we need to compare the size of the model , Because some model output results do not include model size , Only output the parameter quantity as shown in the figure
Or this
, And every one saved at this time epoch Of pt The file is not just the size of the parameter weight , But the whole checkpoint, Including optimizer and so on .
Therefore, I was also distressed for a long time to find a method to estimate the size of the model through the parameter quantity , Or formula , After I compare the calculation results of many models, it is more accurate ,
Parameter conversion formula : Parameter quantity * 2 / 1024 /1024( One float16 Occupy 2 Bytes , 1024 Bytes to 1k)
边栏推荐
猜你喜欢
随机推荐
第五天训练
Etcd database source code analysis - initialize etcdserver structure
[paper notes] visual detection and capture method based on deep learning
ArrayList底层分析
SSM implementation of one-to-one query detailed tutorial (1)
Leetcode 197 Rising temperature (July 16, 2022)
【虹科】激光雷达安全系统:让世界更安全
Redis
Magic Usage of mongodb $symbol +mongo data type
Exchange array elements without creating temporary variables
Case sharing | build a one-stop data development platform for hehe information based on linkis+dss
解决ApplicationEventMulticaster not initialized - call ‘refresh‘ before multicasting events异常
第六天训练
Two structures ifconf and ifreq
Codeworks 5 questions per day (average 1500) - day 17
Simple third-party component log desensitization
Collation of RPA related knowledge points
Qprocess of QT
MySQL索引(一)
【虹科】GenICam协议入门