How to convert images stored in torch table in the form of tensors to image dataset

Good Evening,

I have an image dataset in the form of torch table stored on my computer ( file).

The dataset is a torch table. It include two tensor, such as {data,label}. Where image is stored in data tensor and image name in label.

Can you please guide me how can I read the file and convert the data into images.

or any tool which can convert

I am new to PyTorch.

I have been trying hard to convert but no success.


Could you post an example of this data format and what a “torch table” is?
I’m currently unsure, if you are referring to a specific format or what the “table” is.