lovoo / NSFWDetector

A NSFW (aka porn) detector with CoreML
BSD 3-Clause "New" or "Revised" License
1.59k stars 109 forks source link

@available(iOS 12.0, *) why? #23

Open carmelogallo opened 4 years ago

carmelogallo commented 4 years ago

This pod compiles and works just fine with iOS 11 :)

absolute-heike commented 4 years ago

I’m not entirely sure anymore, but I think it‘s because the model was trained using CreateML which was introduced in iOS 12. It‘s only 17kB in size and therefore relies on some layers inside of the OS. :)

carmelogallo commented 4 years ago

CoreML works from iOS 11 https://developer.apple.com/documentation/coreml

I’d suggest to you to update your project and pod ;)