Can not resume debugging session

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Can not resume debugging session

3,612件の閲覧回数
Emin
Contributor III

In this demo I wanted to resume the debugging session for the next lines in order to see the result in terminal. However it is not going to the next line or to continue in order process the following part of the code where Im printing some inference numbers on terminal. How can I fix this?

this is the code where Im doing debugging:

int main(void)
{
/* (recording_win x frame_shift) is the actual recording window size. */
int recording_win = 1;

KWS_MFCC kws_mfcc(recording_win);

const std::string labels[] = {"_silence_", "_unknown_","baby_cry", "baby_laugh"};

audio_init();

 

/* Init board hardware */
BOARD_ConfigMPU();
BOARD_InitPins();
BOARD_BootClockRUN();
CLOCK_InitAudioPll(&audioPllConfig);
BOARD_InitDebugConsole();

InitTimer();

std::unique_ptr<tflite::FlatBufferModel> model;
std::unique_ptr<tflite::Interpreter> interpreter;
TfLiteTensor* input_tensor = 0;
InferenceInit(model, interpreter, &input_tensor, false);

LOG(INFO) << "Baby Cry Detection example using a TensorFlow Lite model.\r\n" << std::endl;
LOG(INFO) << "Detection threshold: " << DETECTION_TRESHOLD << "%\r\n";

LOG(INFO) << "\r\nStatic data processing:\r\n" << std::endl;

RunInference(&kws_mfcc, (int16_t*)OFF, labels, model, interpreter, input_tensor);
RunInference(&kws_mfcc, (int16_t*)RIGHT, labels, model, interpreter, input_tensor);
RunInference(&kws_mfcc, (int16_t*)LEFT, labels, model, interpreter, input_tensor);
RunInference(&kws_mfcc, (int16_t*)ON, labels, model, interpreter, input_tensor);

0 件の賞賛
返信
1 返信

3,594件の閲覧回数
ErichStyger
Specialist I

Have you already tried suspending the target to see what it is doing?

0 件の賞賛
返信