cancel
Showing results for 
Search instead for 
Did you mean: 

How to use Playback Mode with test vectors for HAR_IGN_WSDM

jayz
Associate

Can you please elaborate what is playback mode with test vectors a little? there is limited information in the document about it and how can i use it?

2 REPLIES 2
Laurent
ST Employee

​Hello Shubban,

The Play back mode for HAR_IGN_WSDM uses data from the test set used for generating the neural network given as an example .

The test vector consists of 60s of data of human activity split into four sequences of 15 s stored in separate buffers :

standing_buffer

walking_buffer

jogging_buffer

stairs_buffer

Those buffers sequentially feed the input in loop mode of the neural network instead of live data from accelerometer sensor.

This mode of operation is selected through the definition of  TEST_IGN_WSDM

I hope this helped

Laurent.

Laurent
ST Employee

Hello Shubham,

To be more specific , you need to uncomment ​ #define TEST_IGN_WSDM , line 86-89 of SENSING1_config.h  :

/* For HAR_IGN_WSDM play back mode (use test vectors instead of sensors) */
#ifdef NN_IGN_WSDM
 #define TEST_IGN_WSDM
#endif /* NN_IGN_WSDM */