Skip to main content
jayz
Visitor II
February 9, 2019
Question

How to use Playback Mode with test vectors for HAR_IGN_WSDM

  • February 9, 2019
  • 2 replies
  • 1422 views

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?

    This topic has been closed for replies.

    2 replies

    Laurent
    ST Employee
    February 11, 2019

    ​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
    February 11, 2019

    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 */