Depending on the input, the different output values might be expected.
Both models were trained using different frameworks and most likely also (slightly) different hyperparameters, so that the parameters differ.
The reported validation accuracy should nevertheless be reproducible using the ImageNet dataset.



 mohamed_abdullah:

I want to use pytorch weights into the keras model. How can I share the weights between the two models?


There might be tools to transform the weights between TF and PyTorch, but you could also use a manual approach as given in this post 7.