res = PrunedImgNetDetectorSet;
num_models = 50;
model_location = '/vision/u/lijiali/projects/ECCV10/Result/LSVM_Merged/';
output_folder = 'models/';
make_dir(output_folder);

for i=1:num_models
    input_file = [model_location num2str(res{i}) '_final.mat'];
    load(input_file);
    output_file = [output_folder num2str(res{i}) '_final.mat'];
    save(output_file, 'model');
end