Thanks for the error logs.
From line no 45-48, I believe, it must be the invalid padding setting that is consuming one pixel at each layer.
Could you check the padding values once, I guess your issue is something similar to one addressed in this answer.