File descriptions
Train_Features.pkl
- training set features
Val_Features.pkl
- Validation set features
Test_Features.pkl
- Test Set features
Train_Labels.csv
- training set labels
Val_Labels.csv
- Validation set labels
Train_images96
- Training set images
Val_images96
- Validation set images
Val_Features.csv
- Validation set features
Train_Features.csv
- Train set features
Test_Features.csv
- Test set features
To load the pickle files in Python 2.7, try:
import pickle
TrainFileName = 'Train_Features.pkl'
Train_Features = pickle.load(open(TrainFileName,'rb'))
`
In case you are using Matlab, you can read the csv Feature file as:
name = 'Val_Features.csv'
fid = fopen(name,'r');
while ~feof(fid)
tline = fgetl(fid);
%use strplit to split the line, first cell contains the id, rest 512 cells contain the 512-d feature
disp(tline)
end
fclose(fid);