Sorry, I should have tried to make it clearer.
The aim of the dataset is to classify images into a class. The classes come from the file name where ‘clear_path/my_image.jpg’, clear_path is the class. On other images, it may be ‘looking/my_image2.jpg’ and the class would be looking.
I don’t want to use the pose information in the other columns as targets, but as supplementary information to aid the classification.
So I want to split the dataset into images, and into pose information. The images would first pass through the network on their own until they get to the fc layers. Then at the first fc layer, I wish pass the network the pose information for that image. I am using imagenet models such as Alexnet and VGG
I have managed to load the images using the ImageFolder function previously, however I am not sure how I can then load the pose information, and ensure that the pose information and image associated with the pose would match when they go through the dataset.