nyagato_00 8811098244 TFLITE_USE_DELEGATE has been changed to use GpuDelegateOptions instead of TFLGpuDelegateOptions.
When I tried to run the sample using the GPU-supported version of TensorFlow Lite, I encountered an exception on line 419 of tensorflow/lite/examples/ios/camera/CameraExampleViewController.mm.

The exceptions that occurred are as follows
"Unknown type name 'TFLGpuDelegateOptions'; did you mean 'GpuDelegateOptions'?"

Using GpuDelegateOptions seemed to be the right thing to do, so I modified the code to use this one.

Official tutorial: https://www.tensorflow.org/lite/performance/gpu#ios_with_xcode
2020-08-29 21:52:42 +09:00
..

Using the iOS Demo App

Please read the TensorFlow Lite iOS Demo App page.

Using the iOS Demo App with support for select TensorFlow ops

TODO(ycling): Link to the select TensorFlow ops documentation when it's done.

Follow the guide to TensorFlow Lite iOS Library with support for select TensorFlow ops, then open tflite_camera_example_with_flex.xcodeproj. Note that this project setting is not using CocoaPod.