No idea why this is happening, but the issue was that I had the mlmodelc file in the resources folder. Despite adding the resources in the package.swift, the Bundle.module property was not available because the generated resource_bundle_accessor.swift file was not generating. All I needed to do was more the mlmodelc file outside the resources folder and it worked.
Topic:
Programming Languages
SubTopic:
Swift
Tags: