-
Notifications
You must be signed in to change notification settings - Fork 26
Description
- I have created my own model that use mfcc. With your pacakge it works fine with android but it is giving strange results with ios(almost same results everytime). Upon further going through your package I have encountered that:
In android when we use mfcc: (inside TflteAudioPlugin.java)
InputData2D=[-584.5461, 160.31107, 54.33207, 41.93382, -6.2690716, -22.130093, -23.728022, -18.326862, -19.871655, -12.884017, 4.3321896, 7.76119, -10.174459, 14.504196, -8.621558, -29.163612, 1.3063055, 14.564109, -7.867571, 0.08920245, 13.916428, 23.708931, 8.588604, -7.8490815, -3.8324726, -10.441817, -2.3888357, 9.464556, -6.7323833, -3.6811, 2.5033593, -8.471148, -5.328222, 5.5226245, 6.6240654, -7.9169397, -9.550313, 9.346459, 5.020493, -6.127846]
while in ios when we use mfcc: (inside SwiftTflteAudioPlugin.swift)
InputData=[-0.0000464e-200,0.0037373e-330,.........................................,0.0037363e-100]
In ios the InputData values are extremely low.
Clearly theres a huge difference between the inputData of android and ios that's why it is giving such strange results in ios(almost same every time)
- I am testing on a physical device both for android and ios