Error in pickle load

I have got the following error when loading with pickle and was not able to understand what went wrong.
The error is as follows:

Any help in this can be of great help to me.
Thank you.

what is stored in tran_labeled.p? If it is a tensor, you should use torch.load and instead.

Hello, my dataset is .p file but I don’t know how to load this type for my model.Could you share this code to load .p file as trainset?
Thanks for your help!