darts icon indicating copy to clipboard operation
darts copied to clipboard

Why model storage memory takes a huge amount of space?

Open haithanhp opened this issue 5 years ago • 2 comments

Hi,

I see your saved models for imageNet are very huge (48.2MB) while in the code they are 4.9MB (#parameters). I also double checked MobileNet v2 only 14.02MB on Pytorch.

Could you explain why your model is very huge? It should be small in memory storage.

haithanhp avatar Jul 09 '19 18:07 haithanhp

Personally, 4.9M means the number of 4.9 million learnable parameters rather than storage.

alphadl avatar Jul 25 '19 07:07 alphadl

Thanks for your information.

Do you know why the models in pytorch are very huge (48.2MB)? I see same scale models (Mobilenet v1, v2) with 4.4M and 3.9M (#parameters) only take little space (14.02MB or 16MB).

haithanhp avatar Jul 25 '19 12:07 haithanhp