MobileStyleGAN.pytorch icon indicating copy to clipboard operation
MobileStyleGAN.pytorch copied to clipboard

conversion to coreml doesn't work

Open rotem154154 opened this issue 2 years ago • 3 comments

when i try to convert to coreml the code crash with: RuntimeError: PyTorch convert function for op 'numel' not implemented.

rotem154154 avatar Aug 03 '22 06:08 rotem154154

@rotem154154 which versions of pytorch and corml-tools do you use?

bes-dev avatar Aug 04 '22 08:08 bes-dev

i tried with pytorch 1.12.0 and 1.13.0.dev20220726 both using coreml 5.2.0 and 5.0.0

rotem154154 avatar Aug 04 '22 08:08 rotem154154

@rotem154154 sorry for the late response. I checked model conversion to coreml and it works good for me with coremltools==5.2.0. Please, try to update coremltools in your python env.

bes-dev avatar Aug 16 '22 15:08 bes-dev