Closed YingkunZhou closed 1 year ago
Hi,
Please change this boolean "CoreMLConversion" in swiftformer.py to True before converting your model to mlmodel. The normalization layer is currently not supported by coreml and this boolean disables this layer. I raised an issue into coreml and hopefully they support it soon.
Please let me know if you still not be able to reproduce the same performance.
Best regards, Abdelrahman.
oh I see, thanks.
I download the mlmodel which mentioned in Readme and also use almost the same environment to convert pytorch model to mlmodel
the left is mine, the right is downloaded from https://drive.google.com/file/d/1tZVxtbtAZoLLoDc5qqoUGulilksomLeK/view?usp=sharing
here is the layer distribution diff
and here is the performance diff