Jee-King / CVPR2022_STNet

MIT License
85 stars 19 forks source link

Video Frames Data Preprocessing #1

Open BasitAlawode opened 2 years ago

BasitAlawode commented 2 years ago

I want to use STNet for tracking my own video frames. How can I obtain the im_x_pos, im_x_neg, and snn_state in line 211 of stnet_track.py?

Also, what is the value of snn_state_first in the init function line 169 stnet_track.py?

Jee-King commented 1 year ago

_im_xpos and _im_xneg are aggregated by recording the spatial positions of all occurred negative and positive events during the period, respectively.

The _snn_state first definition in the tracking initialization is on line 99 of _videoanalyst/engine/tester/tester_impl/utils/got_benchmarkhelper.py

The membrane potential and spiking in _snnstate will be updated with the input of temporal information (i.e., each event frame in the sequence).