Skip to main content
. 2021 Jul 10;21(14):4720. doi: 10.3390/s21144720
Algorithm 2. Training procedure of ASNet
Input: Original input frame clips xg
Output: θcnn and θspa
1: Initialize θcnn and θspa
2: while kK do
3:   Get xc through conventional cropping on xg
4:   Get xs through SPA on xg
5:   Take xc and xs as inputs; Fix θspa; Train θcnn
6:   Fix θcnn; Train θspa through Algorithm 1
7: end while