Fixes Issue #44.
Problem 1: Speech type displayed even though text is given for target.
Solution 1: Typo fix.
Problem 2: The latency metrics are the same between each pair, like LAAL is the same is LAAL_CA, where LAAL_CA should be bigger due to considering elapsed time which counts computer processing time along with delays.
Solution 2: The problem was that when “--computation-aware” argument was passed in args, it was set globally to True, causing all the metric object to take on ‘computation_aware’=True. The fix was very simple, just one line of code. In from_args which instantiates the object, I put ‘computation_aware’ to False. If it’s _CA, then it goes through a different pathway and instantiates the object directly not through from_args.
(Metrics shown are now correct)
Type of change
[x] Bug fix (non-breaking change which fixes an issue)
Description
Fixes Issue #44. Problem 1: Speech type displayed even though text is given for target. Solution 1: Typo fix.
Problem 2: The latency metrics are the same between each pair, like LAAL is the same is LAAL_CA, where LAAL_CA should be bigger due to considering elapsed time which counts computer processing time along with delays. Solution 2: The problem was that when “--computation-aware” argument was passed in args, it was set globally to True, causing all the metric object to take on ‘computation_aware’=True. The fix was very simple, just one line of code. In from_args which instantiates the object, I put ‘computation_aware’ to False. If it’s _CA, then it goes through a different pathway and instantiates the object directly not through from_args.
(Metrics shown are now correct)
Type of change
How Has This Been Tested?
Successful locally. No test cases needed.