Hi,
In your PreProcessing folder, in the mapAll2FER.m file, https://github.com/saebrahimi/Emotion-Recognition-RNN/blob/master/PreProcessing/mapAll2FER.m#L18
you comment
%add border of 32 for TFD which results in 160 image size
but actually you add 48 to the pavg