In this Create ML tutorial, you'll learn how to transfer your learning to Turi Create, and gain familiarity with machine learning toolsets and terminology. No math needed!
Thanks Audrey for this awesome jump start into Create ML! This article clarifies not only how to create ML models, but provides a starting point to discern the differences between these models (classifiers, detectors, recommenders, etc.).
Update circa macOS 10.15 Beta 2 and Xcode 10.0 beta 2: Trying to create an image classifier model in Create ML may not work.
On Xcode 10.0 beta 2 (10L177m) running on macOS 10.15 Beta 2 (10L176w), running the three-line CreateMLUI playground at the top of this article results in an error attempting to create the model right after the training phase:
generic(reason: "Error: Detected inf/nan values in feature(s) 'image_features', 'image_features', ā¦
After I drag the Pets100 directory onto the image classifier, the playground processes the images, but then starts generating errors after itās gone through all of the images.
Iām running Mojave 18A314h and Xcode 10L176w.
Hereās my console output:
Extracting image features from full data set.
Analyzing and extracting image features.
+------------------+--------------+------------------+
| Images Processed | Elapsed Time | Percent Complete |
+------------------+--------------+------------------+
| 1 | 6.66s | 0.75% |
| 2 | 6.72s | 1.75% |
| 3 | 6.78s | 2.75% |
| 4 | 6.84s | 3.75% |
| 5 | 6.90s | 4.75% |
| 10 | 7.20s | 9.75% |
| 50 | 9.53s | 49% |
| 100 | 12.15s | 98% |
| 102 | 12.27s | 100% |
+------------------+--------------+------------------+
Automatically generating validation set from 10% of the data.
generic(reason: "Error: Detected inf/nan values in feature(s) \'__image_features__\', \'__image_features__\', \'__image_features__\',
Scroll up to plasticbrainās post about the same problem. It seems to be a Mojave beta 2 bug. I followed the link just now and saw no answers only reports of the same issue.
If you can rollback to Mojave b1 and Xcode b1, it should work.
Mojave Beta 3 + Xcode 10 Beta 3 seem to resolve the issue.
I did encounter a bug where Mojave Beta 3ās installation seemed to go OK, but it didnāt update to Beta 3. Double check the build number after updating Mojave to ensure it did indeed update.
Fantastic! I upgraded to Beta 3 for both Xcode and Mojave, but there was an installation bug with Mojave. For some reason, the Beta 3 installation of Mojave ran without issue, but didnāt update to Beta 3. I downloaded Mojave Beta 3ās install and ran it again. Iāll be posting a radar on that. Thanks!
But why would this could be related to Create ML? Im following the Turi Create tutorialā¦
Not sure about CPU speed, but I am using a MacBook Pro 2018, 16GB RAM.
I also upgraded to Mojave 3 and Xcode 3, but keep stuck at the same point, āStarting brute force nearest neighbors model trainingā.