What is the difference between '.pkl' or '.pth'?

Hello, I’m new to fastai and I would thank anyone who could explain the difference between saving the learn object using ‘.pkl’ and ‘.pth’. I don’t have a clue where to use each one of them? are they both the same?

1 Like