'How to Use Custom yolov4 weights in iOS app
I following these steps:
- Obtained YOLO v4 weights after training on my custom dataset
- Converted weights to TensorFlow checkpoints
- Converted Tensorflow checkpoint to tflite
- Quantized tflite
- I was using tflite samples and imported custom tflite to xcode project
But I'm getting a crash:
Failed to create the interpreter with error: Failed to create the interpreter.
ObjectDetection/ViewController.swift:56: Fatal error: Failed to load model
2022-02-28 13:28:22.850305+0530 ObjectDetection[9505:3901451]
ObjectDetection/ViewController.swift:56: Fatal error: Failed to load model
I tested my tflite weights and its working fine
Solution 1:[1]
Follow this space for solution https://github.com/ankits16/CVRecorderFinal/blob/main/README.md
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 |