Open thelou1s opened 8 months ago
Hi, is the problem specific to 'dymn10_as', or does it also hold for 'mn10_as'?
Do I understand correctly from the screenshot above that the values computed by the mel are slightly changed (but almost the same) and the values of the computed model outputs are very different on your PC and an Android device?
The model outputs on Android are very different, but not completely random, correct?
Hi, Thank you for quick reply and your great work : )
"is the problem specific to 'dymn10_as', or does it also hold for 'mn10_as'?" both dymn10_as and mn10_as
"very different on your PC and an Android device" Yes, Very different. You can notice that, python inference 'Snoring' correctly but android inference 'Music' on 'dd_01_16khz.wav'. And I also tested other 33 snoring wav files, python inference correctly half of them, but android none.
I see. I haven't used the models on mobile phones before, so I will not be of much help here. Maybe I'll find the time in the near future to look into it.
However, I suggest closely examining the data type used on PC and Android. Maybe there is a mismatch in terms of precision?
Have you also checked whether the model weights stay the same?
Hi, I converted dymn10_as to pytorch mobile, But mobile output is so different with python. I checked both torch version and the model file. What may be the problem? Thanks :)
Expected Behavior: Same or similar outputs
Actual Behavior: So different output
Reproduce: 1.convert dymn10_as to pytorch mobile(android) 2.compare python and mobile(android) output