From 79d4154ee071d0e7ef2d1eecdde149d488bb9d8b Mon Sep 17 00:00:00 2001 From: Isabella Gottardi Date: Wed, 20 Oct 2021 15:52:32 +0100 Subject: MLECO-2458 and MLECO-2476 [Fix] VWW IFM quant step * Changed image->cc conversion to be similar with preprocessing of img_class and vww models: images are scaled maintaing the aspect ration and then the centre crop of the correct size is taken. * VWW applies input quantization info to the int8 image (prior converted to [0,1] float range). * Changed adult_blur to a image without person. * Fix menu print when selecting a specific ifm to run (Select message was displayed after typing something) Change-Id: Ie6cde7ab4835ea842667b87397458a5d32131df3 --- source/use_case/asr/src/MainLoop.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'source/use_case/asr/src') diff --git a/source/use_case/asr/src/MainLoop.cc b/source/use_case/asr/src/MainLoop.cc index 42bb08e..87145f4 100644 --- a/source/use_case/asr/src/MainLoop.cc +++ b/source/use_case/asr/src/MainLoop.cc @@ -133,6 +133,7 @@ void main_loop(hal_platform& platform) case MENU_OPT_RUN_INF_CHOSEN: { printf(" Enter the audio clip index [0, %d]: ", NUMBER_OF_FILES-1); + fflush(stdout); auto clipIndex = static_cast( arm::app::ReadUserInputAsInt(platform)); executionSuccessful = ClassifyAudioHandler(caseContext, -- cgit v1.2.1