Convert Tensorflow model to CoreML for iOS app

I’m trying to convert my tensorflow image classification model to a CoreML model that I can integrate in an iOS app. The tensorflow model takes in an image of shape (1,28,28,1) and outputs a softmax array. When I try to convert it to CoreML I get the following error:

raise TypeError(“Unsupported numpy type: %s” % (nptype))

TypeError: Unsupported numpy type: float32

Does anyone have any experience with this?

submitted by /u/berimbolo21
[visit reddit] [comments]

Leave a Reply

Your email address will not be published. Required fields are marked *