Questions tagged [mlmodel]

98 questions
2
votes
0 answers

I get the following runtime error during initial call to my gestureclassifier.mlmodel in Watchkit App Extension

I receive the following runtime error in Watchkit extension during initial read of classifier file (.mlmodel): "WatchKit App Extension[441:999198] [espresso] [Espresso::handle_ex_] exception=Unsupported engine type" I thought it was a version issue…
TimCo
  • 41
  • 8
2
votes
0 answers

Check face edge angles on iOS

I am trying to develop on iOS a system to make sure all angles of a face are being shown. Basically, replicate the same wizard apple does when creating the face ID. I have started today playing around and following some tutorials on ARKit,…
Inigo Llamosas
  • 457
  • 1
  • 4
  • 12
2
votes
0 answers

ITMS-90171 When Archiving Caused by MLModel Files

I'm trying to submit an app to the store that contains a bundle of .mlmodel files. When I archive the app and upload it to the app store I get a list of errors, one for each .mlmodel file that is in the bundle. An example of such an error…
James
  • 3,957
  • 4
  • 37
  • 82
1
vote
0 answers

CoreML Compile Error after changing multiArray type

I am trying to use a converted '.mlmodel' from Google MediaPipe '.tflite'. However, after changing the type of the multiArray, a CoreML compile error occurs and cannot be resolved. The input type of mlmodel could be changed as follows. #…
1
vote
0 answers

how to use Date in string in LinearRegression model

i want to use date like 8/12/2004 in LinearRegression model and convert all of the dataset to range like(0.2008)strong text in order to sort date
1
vote
1 answer

Error when training AllenNLP adversarial bias mitigator using a pretrained masked language model

I'm attempting to create an adversarially debiased bert masked language model using 'AdversarialBiasMitigator' alongside the AllenNLP pretrained MLM (from here:…
1
vote
1 answer

Type metadata accessor for DeepLabV3Output XCode 13

After building with XCode 13 when app try to predict Image using DeepLabV3's processing APP crash. The same code with Xcode 12 work correctly Someone can help me? thanks enter image description here
1
vote
1 answer

Azure : Ansible role for deploying ML model integrated over databricks

I have developed ML predictive model on historical data in Azure Databricks using python notebook. Which means i have done data extraction, preparation, feature engineering and model training everything done in Databricks using python notebook. I…
1
vote
0 answers

Converting TF 2.* keras model to mlmodel for iOS 12 using coremltools 3

I have a keras model (TF 2.*), and I want to convert it to mlmodel with iOS version of 12. According to coremltools 4 release notes: "To deploy the Core ML model to a target that is iOS12, macOS 10.13, watchOS 5, tvOS 12, or an older version, use…
jonb
  • 845
  • 1
  • 13
  • 36
1
vote
2 answers

CoreML model prediction on image recognition only working on iPhone 11 and 12 models

I created an image recognition .mlmodel file in the Create ML app. I am now using it in an iOS app. It works great on iPhone 11 and iPhone 12 (and the corresponding models) but not on iPhone 8, iPhone 8 Plus and iPhone X. There are likely other…
MillerMedia
  • 3,651
  • 17
  • 71
  • 150
1
vote
2 answers

Failed convert .caffemodel to .mlmodel

While trying convert caffemodel to mlmodel i cant run my converter-script.py this is my converter-script.py file : import coremltools caffe_model = ('oxford102.caffemodel', 'deploy.prototxt') labels = 'flower-labels.txt' models =…
1
vote
1 answer

CoreMLTools conversion to MLModel: reName_Feature does not work

Problem: CoreMLTools reName_feature does not update feature name in model, only in "spec" of model! I have created a sequential Tensorflow model for an image classification problem. Initially, upon conversion (per Apple docs): #…
BlueskyMed
  • 765
  • 7
  • 24
1
vote
0 answers

MLModel style transfer prediction. Scale effect(brushstrokes)

I have style transfer model which is trained by pytorch and converted by onnx to mlmodel. The style-image was 1500x2000. By using coremltools I set two sizes: 256x256 and 1500x2000. Now I can pass two image sizes to prediction process. Here are…
Artem
  • 364
  • 2
  • 18
1
vote
0 answers

How to change MLMultiArray datatype using coremltools 4.0?

I've fetching the issue while converting .h5 to mlmodel using coremltools 4.0 I want MLMultiArray datatype as 171 element vector of doubles instead of the Flot32 multidimensional array of floats. Heres in my convert script for .h5 to ml model using…
TechGps1
  • 21
  • 3
1
vote
1 answer

How to add uncompiled .mlmodel to Xcode UnitTests bundle

I need to add a .mlmodel file to my Unit Tests in order to check programmatic model compilation in my framework. But, since version 12, Xcode automatically compiles any .mlmodel file added to the project and replaces it with .mlmodelc which is…
kelin
  • 11,323
  • 6
  • 67
  • 104