zhangpur / SR-LSTM

States Refinement LSTM
MIT License
111 stars 35 forks source link

Rotate shift #7

Closed MazenHamdi closed 3 years ago

MazenHamdi commented 3 years ago

Hello, great work there. I don't really understand what does the shift rotate function do to the batchs, why did you use it and why did you use the batch, batch_norm (batch - shift value) and the shift value ? Thanks a lot

zhangpur commented 3 years ago

Hi,

'shift value' is the last observed position, we substract all absolute coordinates with this offset to make the last value of lstm input as 0. This does not make differences on the predicted error. You can refer to the original paper for that preprocessings.