Closed kyakuno closed 3 weeks ago
ArithmeticException: Function does not accept floating point Not-a-Number values. System.Math.Sign (System.Single value) (at <612a2c65aaf843d698f8d38b2ad7654a>:0) AiliaBlazepose+<>c.<DecodeAndProcessBoxes>b__55_1 (Box a, Box b) (at Assets/AXIP/AILIA-MODELS/PoseEstimation/AiliaBlazepose.cs:624) System.Collections.Generic.ArraySortHelper`1[T].SwapIfGreater (T[] keys, System.Comparison`1[T] comparer, System.Int32 a, System.Int32 b) (at <612a2c65aaf843d698f8d38b2ad7654a>:0) System.Collections.Generic.ArraySortHelper`1[T].PickPivotAndPartition (T[] keys, System.Int32 lo, System.Int32 hi, System.Comparison`1[T] comparer) (at <612a2c65aaf843d698f8d38b2ad7654a>:0) System.Collections.Generic.ArraySortHelper`1[T].IntroSort (T[] keys, System.Int32 lo, System.Int32 hi, System.Int32 depthLimit, System.Comparison`1[T] comparer) (at <612a2c65aaf843d698f8d38b2ad7654a>:0) System.Collections.Generic.ArraySortHelper`1[T].IntrospectiveSort (T[] keys, System.Int32 left, System.Int32 length, System.Comparison`1[T] comparer) (at <612a2c65aaf843d698f8d38b2ad7654a>:0) System.Collections.Generic.ArraySortHelper`1[T].Sort (T[] keys, System.Int32 index, System.Int32 length, System.Comparison`1[T] comparer) (at <612a2c65aaf843d698f8d38b2ad7654a>:0) Rethrow as InvalidOperationException: Failed to compare two elements in the array. System.Collections.Generic.ArraySortHelper`1[T].Sort (T[] keys, System.Int32 index, System.Int32 length, System.Comparison`1[T] comparer) (at <612a2c65aaf843d698f8d38b2ad7654a>:0) System.Collections.Generic.List`1[T].Sort (System.Comparison`1[T] comparison) (at <612a2c65aaf843d698f8d38b2ad7654a>:0) AiliaBlazepose.DecodeAndProcessBoxes () (at Assets/AXIP/AILIA-MODELS/PoseEstimation/AiliaBlazepose.cs:624) AiliaBlazepose.RunDetectionModel (UnityEngine.Texture2D inputTexture) (at Assets/AXIP/AILIA-MODELS/PoseEstimation/AiliaBlazepose.cs:494) AiliaBlazepose.RunPoseEstimation (UnityEngine.Color32[] camera, System.Int32 tex_width, System.Int32 tex_height) (at Assets/AXIP/AILIA-MODELS/PoseEstimation/AiliaBlazepose.cs:425) ailiaSDK.AiliaPoseEstimatorsSample.Update () (at Assets/AXIP/AILIA-MODELS/PoseEstimation/AiliaPoseEstimatorsSample.cs:158)
GPU推論した場合にNaNが出ている。
CPU推論だと問題ない。
FP16非対応モデル。 https://github.com/axell-corp/ailia/issues/5413
FP16を無効化した。