Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
12.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
13.4
13.5
Statistic
FMM
Blog
CoreML.Update
Updates a model.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
CoreML | 10.0 | ✅ Yes | ❌ No | ❌ No | ✅ Yes, on macOS | ✅ Yes |
MBS( "CoreML.Update"; InputPath; OutputPath; trainingData ) More
Parameters
Parameter | Description | Example |
---|---|---|
InputPath | The input path to the model file. | "/test.mlmodelc" |
OutputPath | The output path to the model file. | "/output.mlmodelc" |
trainingData | The new training data as JSON array. |
Result
Returns OK or error.
Description
Updates a model.Update a machine learning model on a user’s device. Pass in path to existing model and path for new model.
Training data is a JSON array. Each entry is an object with the input and output keys. Each key has a value, either a number or text, array or image path. The image is defined with a native file path and format is automatically adjusted.
Look in CoreML.Description for the inputDescriptionsByName, outputDescriptionsByName and trainingInputDescriptionsByName. The constrains may tell you what image sizes to use.
Examples
Update a model:
MBS( "CoreML.Update"; "/Users/cs/Desktop/UpdatableDrawingClassifier.mlmodelc"; "/Users/cs/Desktop/UpdatableDrawingClassifier2.mlmodelc"; "[{\"drawing\": \"/Users/cs/Desktop/mbslogo.png\", \"label\": \"car\"}]" )
See also
Release notes
- Version 12.5
- Disabled debug logging left over in CoreML.Update function.
- Version 10.0
- Added CoreML.Update function.
Blog Entries
- MBS FileMaker Plugin, version 12.5pr7
- Checkout Machine Learning features in FileMaker
- New in the MBS FileMaker Plugin 10.0
- Neues MBS FileMaker Plugin 10.0
- MBS FileMaker Plugin 10.0 - More than 6000 Functions In One Plugin
- Train machine learning models on device
- MBS FileMaker Plugin, version 9.6pr3
FileMaker Magazin
This function checks for a license.
Created 16th December 2019, last changed 8th June 2020
