News for hackers. Stuff that matters.
Re:Apple Create ML: Creating an Image Classifier Model by yeldarb on Monday November 30, 2020 @10:08AM (#25254477)
CreateML is getting really impressive. I just went through the process of using it to train an Object Detection model to detect sharks and fish at an aquarium (and deploying the model to an iPhone) last week.

Final result: https://twitter.com/braddwyer/status/1330654868839784451

The full walkthrough video: https://www.youtube.com/watch?v=kBn7Cd8Z8yE

Re:Apple Create ML: Creating an Image Classifier Model by wil421 on Monday November 30, 2020 @10:35AM (#25254802)
Do you think it would be possible to detect the species of shark? I was thinking about trying to detect what breed of dog or maybe species of fish someone caught.
Re:Apple Create ML: Creating an Image Classifier Model by nkristoffersen on Monday November 30, 2020 @11:37AM (#25255629)
Could probably detect if it was a hotdog or not hotdog.
Re:Apple Create ML: Creating an Image Classifier Model by ceejayoz on Monday November 30, 2020 @08:00PM (#25261042)
Train it, then test it on https://www.reddit.com/r/hotdogsorlegs/.
Re:Apple Create ML: Creating an Image Classifier Model by tosh on Monday November 30, 2020 @12:27PM (#25256310)
this might be a vc-case!
Re:Apple Create ML: Creating an Image Classifier Model by yeldarb on Monday November 30, 2020 @01:10PM (#25256892)
With the right training data, definitely.

Check out the Oxford Pets dataset as a starting point (you can download in Create ML format from here): https://public.roboflow.com/object-detection/oxford-pets

Re:Apple Create ML: Creating an Image Classifier Model by dagmx on Monday November 30, 2020 @11:02AM (#25255134)
It's possible but you'd need more training data IMHO the more similar things get.
Re:Apple Create ML: Creating an Image Classifier Model by criddell on Monday November 30, 2020 @11:54AM (#25255861)
That's really neat. Once your model is complete, does it work offline?
Re:Apple Create ML: Creating an Image Classifier Model by yeldarb on Monday November 30, 2020 @12:50PM (#25256600)
Yep, in this example the weights are compiled into the app and inference is done locally on the iPhone processor.
Re:Apple Create ML: Creating an Image Classifier Model by criddell on Monday November 30, 2020 @12:56PM (#25256697)
Is the app available anywhere? I'd love to see if it works on my aquarium.
Re:Apple Create ML: Creating an Image Classifier Model by yeldarb on Monday November 30, 2020 @01:15PM (#25256952)
I didn't clean it up and submit for app review but if you have XCode you can compile and run it by tweaking the sample app (start at 22:25 in the YouTube video above).

Here are the weights: https://www.dropbox.com/s/c49a5zqqt1ml89o/Aquarium%202.mlmod...

Re:Apple Create ML: Creating an Image Classifier Model by crb002 on Monday November 30, 2020 @12:25PM (#25256280)
What apps do you use for drawing the labeling/bounding boxes?
Re:Apple Create ML: Creating an Image Classifier Model by yeldarb on Monday November 30, 2020 @12:52PM (#25256634)
There are a handful of free tools you can use. We have write-ups of most of them in the "Labeling Your Images Yourself" section here: https://blog.roboflow.com/object-detection/

Roboflow (our startup) can import the annotation files from all of those tools and convert them to Create ML's format for you.