Post

Replies

Boosts

Views

Activity

Reply to Error loading a model of CoreML
You can fix this error with the following code, however, predictions simply do not work correctly in the Simulator, you must use an actual device: #if targetEnvironment(simulator) imageClassificationRequest.usesCPUOnly = true; #endif
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Sep ’23