Hi Junjie,
Well, it is expected to get the same outputs while training the model, but if you are getting the different one then probably this link might help you to resolve the issue.
Of course, this is related to a different assignment, but hopefully it might provide you with some hint.