Hello
When compiling the CapturingBodyMotion - BodyDetction project found on apple developrs website, and building to a device with iOS 13.4.5, Xcode 11.4 the model fails to load.
I did not alter the model or make any changes to the sample code.
The log is below:
2020-04-11 23:37:30.599178-0700 BodyDetection[8264:1552158] Metal GPU Frame Capture Enabled
2020-04-11 23:37:30.599334-0700 BodyDetection[8264:1552158] Metal API Validation Enabled
2020-04-11 23:37:33.086518-0700 BodyDetection[8264:1552316] [Sensor] ARFaceTrackingImageSensor (AVCaptureDeviceTypeBuiltInWideAngleCamera - Front) (0x106076f00): Unable to set image sensor frame rate to 60.000000: *** -[AVCaptureDevice setActiveVideoMinFrameDuration:] Unsupported frame duration - use -activeFormat.videoSupportedFrameRateRanges to discover valid ranges
2020-04-11 23:37:33.323592-0700 BodyDetection[8264:1552158] Compiler failed to build request
2020-04-11 23:37:33.323810-0700 BodyDetection[8264:1552158] [Graphics] makeRenderPipelineState failed [output of type ushort is not compatible with a MTLPixelFormatR16Float color attachement.].
2020-04-11 23:37:33.323948-0700 BodyDetection[8264:1552158] [Graphics] makeRenderPipelineState failed.
2020-04-11 23:37:33.661499-0700 BodyDetection[8264:1552158] [Common] _BSMachError: port 12803; (os/kern) invalid capability (0x14) "Unable to insert COPY_SEND"
2020-04-11 23:37:33.662328-0700 BodyDetection[8264:1552158] [Common] _BSMachError: port 12803; (os/kern) invalid capability (0x14) "Unable to insert COPY_SEND"
Error: Unable to load model: The operation couldn’t be completed. (RealityKit.Entity.LoadError error 0.)
2020-04-11 23:37:34.144996-0700 BodyDetection[8264:1552368] [espresso] Warning: padding deconvolution Feature/FeatureExtractor/ResizeNearestNeighbor:0 in SAME mode will not be pad-invariant for all resolutions
2020-04-11 23:37:34.145047-0700 BodyDetection[8264:1552368] [espresso] Warning: padding deconvolution Feature/FeatureExtractor/ResizeNearestNeighbor_1:0 in SAME mode will not be pad-invariant for all resolutions
2020-04-11 23:37:34.145066-0700 BodyDetection[8264:1552368] [espresso] Warning: padding deconvolution Feature/FeatureExtractor/ResizeNearestNeighbor_2:0 in SAME mode will not be pad-invariant for all resolutions
Has anyone else seen this error? I need to resolve this ASAP as I have an example rig that I have matched up with Apple's provided rig and would like to test it.