Hi Dharmik! I just wanted to let you know that thanks to your advices I was able to build the dataset class, thank you so much man, I really appreciate!
At the end I was able to attach each image to its label by its id, and then I only had to add the format extension at the end of each image_name and the class was able to unite them!
Have a happy day!