MobileNet-CoreML icon indicating copy to clipboard operation
MobileNet-CoreML copied to clipboard

Model looks unoptimised

Open mrgloom opened this issue 5 years ago • 1 comments

Screenshot 2020-03-18 at 18 33 00

  1. BN can be fused
  2. batchnorm and scale are separated layers here this is because of bad Caffe implementation.

BTW is there any app where we just can benchmarks some other pertained classification models on iPhone?

mrgloom avatar Mar 18 '20 15:03 mrgloom

Yes, you're correct. But this is also an old model so it's not really worth fixing. I'd recommend getting a more up-to-date checkpoint from the TensorFlow models repo instead, and converting that.

(P.S. I believe Core ML automatically does the BN fusing behind the scenes.)

hollance avatar Mar 18 '20 16:03 hollance