├── README.md ├── caffe ├── CMakeLists.txt ├── Makefile ├── Makefile.config ├── Makefile.config.example ├── build ├── caffe.cloc ├── cmake │ ├── .svn │ │ ├── all-wcprops │ │ ├── entries │ │ └── text-base │ │ │ ├── ConfigGen.cmake.svn-base │ │ │ ├── Cuda.cmake.svn-base │ │ │ ├── Dependencies.cmake.svn-base │ │ │ ├── Misc.cmake.svn-base │ │ │ ├── ProtoBuf.cmake.svn-base │ │ │ ├── Summary.cmake.svn-base │ │ │ ├── Targets.cmake.svn-base │ │ │ ├── Utils.cmake.svn-base │ │ │ └── lint.cmake.svn-base │ ├── ConfigGen.cmake │ ├── Cuda.cmake │ ├── Dependencies.cmake │ ├── Misc.cmake │ ├── Modules │ │ ├── .svn │ │ │ ├── all-wcprops │ │ │ ├── entries │ │ │ └── text-base │ │ │ │ ├── FindAtlas.cmake.svn-base │ │ │ │ ├── FindGFlags.cmake.svn-base │ │ │ │ ├── FindGlog.cmake.svn-base │ │ │ │ ├── FindLAPACK.cmake.svn-base │ │ │ │ ├── FindLMDB.cmake.svn-base │ │ │ │ ├── FindLevelDB.cmake.svn-base │ │ │ │ ├── FindMKL.cmake.svn-base │ │ │ │ ├── FindMatlabMex.cmake.svn-base │ │ │ │ ├── FindNumPy.cmake.svn-base │ │ │ │ ├── FindOpenBLAS.cmake.svn-base │ │ │ │ ├── FindSnappy.cmake.svn-base │ │ │ │ └── FindvecLib.cmake.svn-base │ │ ├── FindAtlas.cmake │ │ ├── FindGFlags.cmake │ │ ├── FindGlog.cmake │ │ ├── FindLAPACK.cmake │ │ ├── FindLMDB.cmake │ │ ├── FindLevelDB.cmake │ │ ├── FindMKL.cmake │ │ ├── FindMatlabMex.cmake │ │ ├── FindNumPy.cmake │ │ ├── FindOpenBLAS.cmake │ │ ├── FindSnappy.cmake │ │ └── FindvecLib.cmake │ ├── ProtoBuf.cmake │ ├── Summary.cmake │ ├── Targets.cmake │ ├── Templates │ │ ├── .svn │ │ │ ├── all-wcprops │ │ │ ├── entries │ │ │ └── text-base │ │ │ │ ├── CaffeConfig.cmake.in.svn-base │ │ │ │ ├── CaffeConfigVersion.cmake.in.svn-base │ │ │ │ └── caffe_config.h.in.svn-base │ │ ├── CaffeConfig.cmake.in │ │ ├── CaffeConfigVersion.cmake.in │ │ └── caffe_config.h.in │ ├── Utils.cmake │ └── lint.cmake ├── include │ ├── .svn │ │ ├── all-wcprops │ │ └── entries │ └── caffe │ │ ├── .svn │ │ ├── all-wcprops │ │ ├── entries │ │ └── text-base │ │ │ ├── blob.hpp.svn-base │ │ │ ├── caffe.hpp.svn-base │ │ │ ├── common.hpp.svn-base │ │ │ ├── common_layers.hpp.svn-base │ │ │ ├── data_layers.hpp.svn-base │ │ │ ├── data_transformer.hpp.svn-base │ │ │ ├── filler.hpp.svn-base │ │ │ ├── internal_thread.hpp.svn-base │ │ │ ├── layer.hpp.svn-base │ │ │ ├── layer_factory.hpp.svn-base │ │ │ ├── loss_layers.hpp.svn-base │ │ │ ├── net.hpp.svn-base │ │ │ ├── neuron_layers.hpp.svn-base │ │ │ ├── python_layer.hpp.svn-base │ │ │ ├── solver.hpp.svn-base │ │ │ ├── syncedmem.hpp.svn-base │ │ │ └── vision_layers.hpp.svn-base │ │ ├── blob.hpp │ │ ├── caffe.hpp │ │ ├── common.hpp │ │ ├── common_layers.hpp │ │ ├── data_layers.hpp │ │ ├── data_transformer.hpp │ │ ├── filler.hpp │ │ ├── internal_thread.hpp │ │ ├── layer.hpp │ │ ├── layer_factory.hpp │ │ ├── loss_layers.hpp │ │ ├── net.hpp │ │ ├── neuron_layers.hpp │ │ ├── python_layer.hpp │ │ ├── solver.hpp │ │ ├── syncedmem.hpp │ │ ├── test │ │ ├── .svn │ │ │ ├── all-wcprops │ │ │ ├── entries │ │ │ └── text-base │ │ │ │ ├── test_caffe_main.hpp.svn-base │ │ │ │ └── test_gradient_check_util.hpp.svn-base │ │ ├── test_caffe_main.hpp │ │ └── test_gradient_check_util.hpp │ │ ├── util │ │ ├── .svn │ │ │ ├── all-wcprops │ │ │ ├── entries │ │ │ └── text-base │ │ │ │ ├── benchmark.hpp.svn-base │ │ │ │ ├── coords.hpp.svn-base │ │ │ │ ├── cudnn.hpp.svn-base │ │ │ │ ├── db.hpp.svn-base │ │ │ │ ├── device_alternate.hpp.svn-base │ │ │ │ ├── im2col.hpp.svn-base │ │ │ │ ├── insert_splits.hpp.svn-base │ │ │ │ ├── io.hpp.svn-base │ │ │ │ ├── math_functions.hpp.svn-base │ │ │ │ ├── mkl_alternate.hpp.svn-base │ │ │ │ ├── rng.hpp.svn-base │ │ │ │ └── upgrade_proto.hpp.svn-base │ │ ├── benchmark.hpp │ │ ├── coords.hpp │ │ ├── cudnn.hpp │ │ ├── db.hpp │ │ ├── device_alternate.hpp │ │ ├── im2col.hpp │ │ ├── insert_splits.hpp │ │ ├── io.hpp │ │ ├── math_functions.hpp │ │ ├── mkl_alternate.hpp │ │ ├── rng.hpp │ │ └── upgrade_proto.hpp │ │ └── vision_layers.hpp ├── matcaffe.d ├── models │ ├── fcn-32s-pascal │ │ ├── 2012 │ │ │ ├── 100-fs-rest-points │ │ │ │ ├── README.md │ │ │ │ ├── caffemodel-url │ │ │ │ ├── deploy.prototxt │ │ │ │ ├── solver.prototxt │ │ │ │ └── train_val.prototxt │ │ │ ├── fs-cls-con │ │ │ │ ├── README.md │ │ │ │ ├── caffemodel-url │ │ │ │ ├── deploy.prototxt │ │ │ │ ├── solver.prototxt │ │ │ │ └── train_val.prototxt │ │ │ ├── image-level-labels-cls-con-obj │ │ │ │ ├── README.md │ │ │ │ ├── caffemodel-url │ │ │ │ ├── deploy.prototxt │ │ │ │ ├── solver.prototxt │ │ │ │ └── train_val.prototxt │ │ │ ├── image-level-labels-cls-con │ │ │ │ ├── README.md │ │ │ │ ├── caffemodel-url │ │ │ │ ├── deploy.prototxt │ │ │ │ ├── solver.prototxt │ │ │ │ └── train_val.prototxt │ │ │ ├── random1-click1-cls-con-obj │ │ │ │ ├── README.md │ │ │ │ ├── caffemodel-url │ │ │ │ ├── deploy.prototxt │ │ │ │ ├── solver.prototxt │ │ │ │ └── train_val.prototxt │ │ │ ├── real1-click1-cls-con-obj-3annotators │ │ │ │ ├── README.md │ │ │ │ ├── caffemodel-url │ │ │ │ ├── deploy.prototxt │ │ │ │ ├── solver.prototxt │ │ │ │ └── train_val.prototxt │ │ │ ├── real1-click1-cls-con-obj │ │ │ │ ├── README.md │ │ │ │ ├── caffemodel-url │ │ │ │ ├── deploy.prototxt │ │ │ │ ├── solver.prototxt │ │ │ │ └── train_val.prototxt │ │ │ ├── real1-click1-cls-con │ │ │ │ ├── README.md │ │ │ │ ├── caffemodel-url │ │ │ │ ├── deploy.prototxt │ │ │ │ ├── solver.prototxt │ │ │ │ └── train_val.prototxt │ │ │ ├── real1-cls-con-obj-rankweight │ │ │ │ ├── README.md │ │ │ │ ├── caffemodel-url │ │ │ │ ├── deploy.prototxt │ │ │ │ ├── solver.prototxt │ │ │ │ └── train_val.prototxt │ │ │ ├── real1-cls-con-obj │ │ │ │ ├── README.md │ │ │ │ ├── caffemodel-url │ │ │ │ ├── deploy.prototxt │ │ │ │ ├── solver.prototxt │ │ │ │ └── train_val.prototxt │ │ │ └── real1-squiggle1-cls-con-obj │ │ │ │ ├── README.md │ │ │ │ ├── caffemodel-url │ │ │ │ ├── deploy.prototxt │ │ │ │ ├── solver.prototxt │ │ │ │ └── train_val.prototxt │ │ ├── README.md │ │ ├── deploy.prototxt │ │ ├── solver.prototxt │ │ └── train_val.prototxt │ ├── vgg16-conv-pascal │ │ ├── README.md │ │ ├── caffemodel-url │ │ ├── deploy.prototxt │ │ └── mapping.txt │ └── vgg16-conv │ │ ├── README.md │ │ ├── caffemodel-url │ │ └── deploy.prototxt ├── objectness-release-v2.2 │ ├── .DS_Store │ ├── 002053.jpg │ ├── Data │ │ ├── .DS_Store │ │ ├── CClikelihood.mat │ │ ├── EDlikelihood.mat │ │ ├── MSlikelihood.mat │ │ ├── SSlikelihood.mat │ │ └── params.mat │ ├── LICENSE.txt │ ├── MEX │ │ ├── NMS_sampling.c │ │ ├── NMS_sampling.mexa64 │ │ ├── computeIntegralHistogramMex.c │ │ ├── computeIntegralHistogramMex.mexa64 │ │ ├── computeScoreContrast.c │ │ ├── computeScoreContrast.mexa64 │ │ ├── nms4d.c │ │ ├── nms4d.mexa64 │ │ ├── scoreSamplingMex.c │ │ ├── scoreSamplingMex.mexa64 │ │ ├── slidingWindowComputeScore.c │ │ └── slidingWindowComputeScore.mexa64 │ ├── README.txt │ ├── Training │ │ ├── .DS_Store │ │ └── Images │ │ │ ├── .DS_Store │ │ │ ├── 000281.png │ │ │ ├── 000912.png │ │ │ ├── 000933.png │ │ │ ├── 001056.png │ │ │ ├── 001962.png │ │ │ ├── 002453.png │ │ │ ├── 002502.png │ │ │ ├── 002532.png │ │ │ ├── 002649.png │ │ │ ├── 003346.png │ │ │ ├── 003960.png │ │ │ ├── 004468.png │ │ │ ├── 004513.png │ │ │ ├── 004549.png │ │ │ ├── 005173.png │ │ │ ├── 005279.png │ │ │ ├── 0167.jpg │ │ │ ├── 0210.png │ │ │ ├── 0318.png │ │ │ ├── 0360.jpg │ │ │ ├── 0380.png │ │ │ ├── 0393.jpg │ │ │ ├── 0443.png │ │ │ ├── 051226_115142__I2E0348.jpg │ │ │ ├── 051227_072030__I2E0403.jpg │ │ │ ├── 0731.png │ │ │ ├── 0811.png │ │ │ ├── 0817.jpg │ │ │ ├── 0907.png │ │ │ ├── 0966.png │ │ │ ├── 1009.png │ │ │ ├── 101_0117.png │ │ │ ├── 101_0154.png │ │ │ ├── carsgraz_117.png │ │ │ ├── carsgraz_235.png │ │ │ ├── carsgraz_271.png │ │ │ ├── crop001127.png │ │ │ ├── hometeleportcomflyhearttommybikeflathead.png │ │ │ ├── mishappaimagepbasecomu38mardolilarge32056012pedestriancrossing.png │ │ │ ├── person_085.png │ │ │ ├── person_086.png │ │ │ ├── person_096.png │ │ │ ├── person_150.png │ │ │ ├── person_186.png │ │ │ ├── person_191.png │ │ │ ├── person_203.png │ │ │ ├── person_395.png │ │ │ ├── person_and_bike_070.png │ │ │ ├── structGT.mat │ │ │ ├── wwwmopartsorgmopartscarshow20033imgdemon722.png │ │ │ └── wwwocarccaEOCEventsimagesHumanRAdd4Marks4x4VincesMotorbikeJuly04710x532.png │ ├── computeArea.m │ ├── computeIntegralImage.m │ ├── computeIntegralImageScores.m │ ├── computeIntersectionArea.m │ ├── computeObjectnessHeatMap.m │ ├── computePascalScore.m │ ├── computeQuantMatrix.m │ ├── computeScores.m │ ├── defaultParams.m │ ├── demo.m │ ├── drawBoxes.m │ ├── generateWindows.m │ ├── gray2rgb.m │ ├── images_objectness │ │ ├── 2007_000032.jpg │ │ ├── 2007_000033.jpg │ │ ├── 2007_000039.jpg │ │ ├── 2007_000042.jpg │ │ ├── 2007_000061.jpg │ │ ├── 2007_000063.jpg │ │ ├── 2007_000068.jpg │ │ ├── 2007_000121.jpg │ │ ├── 2007_000123.jpg │ │ ├── 2007_000129.jpg │ │ ├── 2007_000170.jpg │ │ ├── 2007_000175.jpg │ │ ├── 2007_000187.jpg │ │ ├── 2007_000241.jpg │ │ ├── 2007_000243.jpg │ │ ├── 2007_000250.jpg │ │ ├── 2007_000256.jpg │ │ ├── 2007_000323.jpg │ │ ├── 2007_000332.jpg │ │ ├── 2007_000333.jpg │ │ ├── 2007_000346.jpg │ │ ├── 2007_000363.jpg │ │ ├── 2007_000364.jpg │ │ ├── 2007_000392.jpg │ │ ├── 2007_000452.jpg │ │ ├── 2007_000464.jpg │ │ ├── 2007_000480.jpg │ │ ├── 2007_000491.jpg │ │ ├── 2007_000504.jpg │ │ ├── 2007_000515.jpg │ │ ├── 2007_000528.jpg │ │ ├── 2007_000529.jpg │ │ ├── 2007_000549.jpg │ │ ├── 2007_000559.jpg │ │ ├── 2007_000572.jpg │ │ ├── 2007_000584.jpg │ │ ├── 2007_000629.jpg │ │ ├── 2007_000636.jpg │ │ ├── 2007_000645.jpg │ │ ├── 2007_000648.jpg │ │ ├── 2007_000661.jpg │ │ ├── 2007_000663.jpg │ │ ├── 2007_000676.jpg │ │ ├── 2007_000713.jpg │ │ ├── 2007_000720.jpg │ │ ├── 2007_000727.jpg │ │ ├── 2007_000733.jpg │ │ ├── 2007_000738.jpg │ │ ├── 2007_000762.jpg │ │ ├── 2007_000768.jpg │ │ ├── 2007_000783.jpg │ │ ├── 2007_000793.jpg │ │ ├── 2007_000799.jpg │ │ ├── 2007_000804.jpg │ │ ├── 2007_000822.jpg │ │ ├── 2007_000830.jpg │ │ ├── 2007_000836.jpg │ │ ├── 2007_000837.jpg │ │ ├── 2007_000847.jpg │ │ ├── 2007_000862.jpg │ │ ├── 2007_000876.jpg │ │ ├── 2007_000904.jpg │ │ ├── 2007_000925.jpg │ │ ├── 2007_000999.jpg │ │ ├── 2007_001027.jpg │ │ ├── 2007_001073.jpg │ │ ├── 2007_001149.jpg │ │ ├── 2007_001154.jpg │ │ ├── 2007_001175.jpg │ │ ├── 2007_001185.jpg │ │ ├── 2007_001225.jpg │ │ ├── 2007_001239.jpg │ │ ├── 2007_001284.jpg │ │ ├── 2007_001288.jpg │ │ ├── 2007_001289.jpg │ │ ├── 2007_001299.jpg │ │ ├── 2007_001311.jpg │ │ ├── 2007_001321.jpg │ │ ├── 2007_001340.jpg │ │ ├── 2007_001377.jpg │ │ ├── 2007_001397.jpg │ │ ├── 2007_001408.jpg │ │ ├── 2007_001416.jpg │ │ ├── 2007_001420.jpg │ │ ├── 2007_001423.jpg │ │ ├── 2007_001430.jpg │ │ ├── 2007_001439.jpg │ │ ├── 2007_001457.jpg │ │ ├── 2007_001458.jpg │ │ ├── 2007_001487.jpg │ │ ├── 2007_001526.jpg │ │ ├── 2007_001568.jpg │ │ ├── 2007_001585.jpg │ │ ├── 2007_001586.jpg │ │ ├── 2007_001587.jpg │ │ ├── 2007_001594.jpg │ │ ├── 2007_001595.jpg │ │ ├── 2007_001602.jpg │ │ ├── 2007_001609.jpg │ │ ├── 2007_001630.jpg │ │ ├── 2007_001677.jpg │ │ ├── 2007_001678.jpg │ │ ├── 2007_001698.jpg │ │ ├── 2007_001704.jpg │ │ ├── 2007_001709.jpg │ │ ├── 2007_001717.jpg │ │ ├── 2007_001724.jpg │ │ ├── 2007_001733.jpg │ │ ├── 2007_001761.jpg │ │ ├── 2007_001763.jpg │ │ ├── 2007_001764.jpg │ │ ├── 2007_001774.jpg │ │ ├── 2007_001825.jpg │ │ ├── 2007_001834.jpg │ │ ├── 2007_001857.jpg │ │ ├── 2007_001872.jpg │ │ ├── 2007_001884.jpg │ │ ├── 2007_001901.jpg │ │ ├── 2007_001917.jpg │ │ ├── 2007_001955.jpg │ │ └── 2007_001960.jpg │ ├── integralHistSuperpixels.m │ ├── integrateBayes.m │ ├── learnParameters.m │ ├── learnTheta.m │ ├── learnThetaMS.m │ ├── nms_pascal.m │ ├── numerizeLabels.m │ ├── objectness_pascal.m │ ├── output.mat │ ├── pff_segment │ │ ├── COPYING │ │ ├── Makefile │ │ ├── SegmentToLabels.m │ │ ├── convolve.h │ │ ├── disjoint-set.h │ │ ├── filter.h │ │ ├── image.h │ │ ├── imconv.h │ │ ├── imutil.h │ │ ├── misc.h │ │ ├── output.mat │ │ ├── pnmfile.h │ │ ├── segment │ │ ├── segment-graph.h │ │ ├── segment-image.h │ │ ├── segment.cpp │ │ ├── segmentmex.cpp │ │ ├── segmentmex.m │ │ └── segmentmex.mexa64 │ ├── retrieveCoordinates.m │ ├── rgb2lab.m │ ├── runObjectness.m │ ├── runObjectness.m~ │ ├── scoreSampling.m │ ├── segmentArea.m │ ├── startup.m │ ├── tmpdir │ │ └── .DS_Store │ └── updatePath.m ├── src │ ├── .svn │ │ ├── all-wcprops │ │ └── entries │ ├── caffe │ │ ├── .svn │ │ │ ├── all-wcprops │ │ │ ├── entries │ │ │ └── text-base │ │ │ │ ├── CMakeLists.txt.svn-base │ │ │ │ ├── blob.cpp.svn-base │ │ │ │ ├── common.cpp.svn-base │ │ │ │ ├── data_transformer.cpp.svn-base │ │ │ │ ├── internal_thread.cpp.svn-base │ │ │ │ ├── layer_factory.cpp.svn-base │ │ │ │ ├── net.cpp.svn-base │ │ │ │ ├── solver.cpp.svn-base │ │ │ │ └── syncedmem.cpp.svn-base │ │ ├── CMakeLists.txt │ │ ├── blob.cpp │ │ ├── common.cpp │ │ ├── data_transformer.cpp │ │ ├── internal_thread.cpp │ │ ├── layer_factory.cpp │ │ ├── layers │ │ │ ├── .svn │ │ │ │ ├── all-wcprops │ │ │ │ ├── entries │ │ │ │ └── text-base │ │ │ │ │ ├── absval_layer.cpp.svn-base │ │ │ │ │ ├── absval_layer.cu.svn-base │ │ │ │ │ ├── accuracy_layer.cpp.svn-base │ │ │ │ │ ├── argmax_layer.cpp.svn-base │ │ │ │ │ ├── base_conv_layer.cpp.svn-base │ │ │ │ │ ├── base_data_layer.cpp.svn-base │ │ │ │ │ ├── base_data_layer.cu.svn-base │ │ │ │ │ ├── bnll_layer.cpp.svn-base │ │ │ │ │ ├── bnll_layer.cu.svn-base │ │ │ │ │ ├── concat_layer.cpp.svn-base │ │ │ │ │ ├── concat_layer.cu.svn-base │ │ │ │ │ ├── contrastive_loss_layer.cpp.svn-base │ │ │ │ │ ├── contrastive_loss_layer.cu.svn-base │ │ │ │ │ ├── conv_layer.cpp.svn-base │ │ │ │ │ ├── conv_layer.cu.svn-base │ │ │ │ │ ├── crop_layer.cpp.svn-base │ │ │ │ │ ├── crop_layer.cu.svn-base │ │ │ │ │ ├── cudnn_conv_layer.cpp.svn-base │ │ │ │ │ ├── cudnn_conv_layer.cu.svn-base │ │ │ │ │ ├── cudnn_pooling_layer.cpp.svn-base │ │ │ │ │ ├── cudnn_pooling_layer.cu.svn-base │ │ │ │ │ ├── cudnn_relu_layer.cpp.svn-base │ │ │ │ │ ├── cudnn_relu_layer.cu.svn-base │ │ │ │ │ ├── cudnn_sigmoid_layer.cpp.svn-base │ │ │ │ │ ├── cudnn_sigmoid_layer.cu.svn-base │ │ │ │ │ ├── cudnn_softmax_layer.cpp.svn-base │ │ │ │ │ ├── cudnn_softmax_layer.cu.svn-base │ │ │ │ │ ├── cudnn_tanh_layer.cpp.svn-base │ │ │ │ │ ├── cudnn_tanh_layer.cu.svn-base │ │ │ │ │ ├── data_layer.cpp.svn-base │ │ │ │ │ ├── deconv_layer.cpp.svn-base │ │ │ │ │ ├── deconv_layer.cu.svn-base │ │ │ │ │ ├── dropout_layer.cpp.svn-base │ │ │ │ │ ├── dropout_layer.cu.svn-base │ │ │ │ │ ├── dummy_data_layer.cpp.svn-base │ │ │ │ │ ├── eltwise_layer.cpp.svn-base │ │ │ │ │ ├── eltwise_layer.cu.svn-base │ │ │ │ │ ├── euclidean_loss_layer.cpp.svn-base │ │ │ │ │ ├── euclidean_loss_layer.cu.svn-base │ │ │ │ │ ├── exp_layer.cpp.svn-base │ │ │ │ │ ├── exp_layer.cu.svn-base │ │ │ │ │ ├── flatten_layer.cpp.svn-base │ │ │ │ │ ├── hdf5_data_layer.cpp.svn-base │ │ │ │ │ ├── hdf5_data_layer.cu.svn-base │ │ │ │ │ ├── hdf5_output_layer.cpp.svn-base │ │ │ │ │ ├── hdf5_output_layer.cu.svn-base │ │ │ │ │ ├── hinge_loss_layer.cpp.svn-base │ │ │ │ │ ├── im2col_layer.cpp.svn-base │ │ │ │ │ ├── im2col_layer.cu.svn-base │ │ │ │ │ ├── image_data_layer.cpp.svn-base │ │ │ │ │ ├── infogain_loss_layer.cpp.svn-base │ │ │ │ │ ├── inner_product_layer.cpp.svn-base │ │ │ │ │ ├── inner_product_layer.cu.svn-base │ │ │ │ │ ├── loss_layer.cpp.svn-base │ │ │ │ │ ├── lrn_layer.cpp.svn-base │ │ │ │ │ ├── lrn_layer.cu.svn-base │ │ │ │ │ ├── memory_data_layer.cpp.svn-base │ │ │ │ │ ├── multinomial_logistic_loss_layer.cpp.svn-base │ │ │ │ │ ├── mvn_layer.cpp.svn-base │ │ │ │ │ ├── mvn_layer.cu.svn-base │ │ │ │ │ ├── neuron_layer.cpp.svn-base │ │ │ │ │ ├── pooling_layer.cpp.svn-base │ │ │ │ │ ├── pooling_layer.cu.svn-base │ │ │ │ │ ├── power_layer.cpp.svn-base │ │ │ │ │ ├── power_layer.cu.svn-base │ │ │ │ │ ├── relu_layer.cpp.svn-base │ │ │ │ │ ├── relu_layer.cu.svn-base │ │ │ │ │ ├── sigmoid_cross_entropy_loss_layer.cpp.svn-base │ │ │ │ │ ├── sigmoid_cross_entropy_loss_layer.cu.svn-base │ │ │ │ │ ├── sigmoid_layer.cpp.svn-base │ │ │ │ │ ├── sigmoid_layer.cu.svn-base │ │ │ │ │ ├── silence_layer.cpp.svn-base │ │ │ │ │ ├── silence_layer.cu.svn-base │ │ │ │ │ ├── slice_layer.cpp.svn-base │ │ │ │ │ ├── slice_layer.cu.svn-base │ │ │ │ │ ├── softmax_layer.cpp.svn-base │ │ │ │ │ ├── softmax_layer.cu.svn-base │ │ │ │ │ ├── softmax_loss_layer.cpp.svn-base │ │ │ │ │ ├── softmax_loss_layer.cu.svn-base │ │ │ │ │ ├── split_layer.cpp.svn-base │ │ │ │ │ ├── split_layer.cu.svn-base │ │ │ │ │ ├── tanh_layer.cpp.svn-base │ │ │ │ │ ├── tanh_layer.cu.svn-base │ │ │ │ │ ├── threshold_layer.cpp.svn-base │ │ │ │ │ ├── threshold_layer.cu.svn-base │ │ │ │ │ └── window_data_layer.cpp.svn-base │ │ │ ├── absval_layer.cpp │ │ │ ├── absval_layer.cu │ │ │ ├── accuracy_layer.cpp │ │ │ ├── argmax_layer.cpp │ │ │ ├── base_conv_layer.cpp │ │ │ ├── base_data_layer.cpp │ │ │ ├── base_data_layer.cu │ │ │ ├── bnll_layer.cpp │ │ │ ├── bnll_layer.cu │ │ │ ├── concat_layer.cpp │ │ │ ├── concat_layer.cu │ │ │ ├── contrastive_loss_layer.cpp │ │ │ ├── contrastive_loss_layer.cu │ │ │ ├── conv_layer.cpp │ │ │ ├── conv_layer.cu │ │ │ ├── crop_layer.cpp │ │ │ ├── crop_layer.cu │ │ │ ├── cudnn_conv_layer.cpp │ │ │ ├── cudnn_conv_layer.cu │ │ │ ├── cudnn_pooling_layer.cpp │ │ │ ├── cudnn_pooling_layer.cu │ │ │ ├── cudnn_relu_layer.cpp │ │ │ ├── cudnn_relu_layer.cu │ │ │ ├── cudnn_sigmoid_layer.cpp │ │ │ ├── cudnn_sigmoid_layer.cu │ │ │ ├── cudnn_softmax_layer.cpp │ │ │ ├── cudnn_softmax_layer.cu │ │ │ ├── cudnn_tanh_layer.cpp │ │ │ ├── cudnn_tanh_layer.cu │ │ │ ├── data_layer.cpp │ │ │ ├── deconv_layer.cpp │ │ │ ├── deconv_layer.cu │ │ │ ├── dropout_layer.cpp │ │ │ ├── dropout_layer.cu │ │ │ ├── dummy_data_layer.cpp │ │ │ ├── eltwise_layer.cpp │ │ │ ├── eltwise_layer.cu │ │ │ ├── euclidean_loss_layer.cpp │ │ │ ├── euclidean_loss_layer.cu │ │ │ ├── exp_layer.cpp │ │ │ ├── exp_layer.cu │ │ │ ├── flatten_layer.cpp │ │ │ ├── hdf5_data_layer.cpp │ │ │ ├── hdf5_data_layer.cu │ │ │ ├── hdf5_output_layer.cpp │ │ │ ├── hdf5_output_layer.cu │ │ │ ├── hinge_loss_layer.cpp │ │ │ ├── im2col_layer.cpp │ │ │ ├── im2col_layer.cu │ │ │ ├── image_data_layer.cpp │ │ │ ├── infogain_loss_layer.cpp │ │ │ ├── inner_product_layer.cpp │ │ │ ├── inner_product_layer.cu │ │ │ ├── loss_layer.cpp │ │ │ ├── lrn_layer.cpp │ │ │ ├── lrn_layer.cu │ │ │ ├── memory_data_layer.cpp │ │ │ ├── multinomial_logistic_loss_layer.cpp │ │ │ ├── mvn_layer.cpp │ │ │ ├── mvn_layer.cu │ │ │ ├── neuron_layer.cpp │ │ │ ├── pooling_layer.cpp │ │ │ ├── pooling_layer.cu │ │ │ ├── power_layer.cpp │ │ │ ├── power_layer.cu │ │ │ ├── relu_layer.cpp │ │ │ ├── relu_layer.cu │ │ │ ├── sigmoid_cross_entropy_loss_layer.cpp │ │ │ ├── sigmoid_cross_entropy_loss_layer.cu │ │ │ ├── sigmoid_layer.cpp │ │ │ ├── sigmoid_layer.cu │ │ │ ├── silence_layer.cpp │ │ │ ├── silence_layer.cu │ │ │ ├── slice_layer.cpp │ │ │ ├── slice_layer.cu │ │ │ ├── softmax_layer.cpp │ │ │ ├── softmax_layer.cu │ │ │ ├── softmax_loss_expectation_layer.cpp │ │ │ ├── softmax_loss_expectation_layer.cu │ │ │ ├── softmax_loss_expectation_layer.cu~ │ │ │ ├── softmax_loss_expectation_layer.txt │ │ │ ├── softmax_loss_expectation_layer1.txt │ │ │ ├── softmax_loss_layer.cpp │ │ │ ├── softmax_loss_layer.cu │ │ │ ├── softmax_loss_objectness_layer.cpp │ │ │ ├── softmax_loss_objectness_layer.cu │ │ │ ├── softmax_loss_objectness_presence_layer.cpp │ │ │ ├── softmax_loss_objectness_presence_layer.cu │ │ │ ├── split_layer.cpp │ │ │ ├── split_layer.cu │ │ │ ├── tanh_layer.cpp │ │ │ ├── tanh_layer.cu │ │ │ ├── threshold_layer.cpp │ │ │ ├── threshold_layer.cu │ │ │ └── window_data_layer.cpp │ │ ├── net.cpp │ │ ├── proto │ │ │ ├── .svn │ │ │ │ ├── all-wcprops │ │ │ │ ├── entries │ │ │ │ └── text-base │ │ │ │ │ └── caffe.proto.svn-base │ │ │ └── caffe.proto │ │ ├── solver.cpp │ │ ├── syncedmem.cpp │ │ ├── test │ │ │ ├── .svn │ │ │ │ ├── all-wcprops │ │ │ │ ├── entries │ │ │ │ └── text-base │ │ │ │ │ ├── CMakeLists.txt.svn-base │ │ │ │ │ ├── test_accuracy_layer.cpp.svn-base │ │ │ │ │ ├── test_argmax_layer.cpp.svn-base │ │ │ │ │ ├── test_benchmark.cpp.svn-base │ │ │ │ │ ├── test_blob.cpp.svn-base │ │ │ │ │ ├── test_caffe_main.cpp.svn-base │ │ │ │ │ ├── test_common.cpp.svn-base │ │ │ │ │ ├── test_concat_layer.cpp.svn-base │ │ │ │ │ ├── test_contrastive_loss_layer.cpp.svn-base │ │ │ │ │ ├── test_convolution_layer.cpp.svn-base │ │ │ │ │ ├── test_data_layer.cpp.svn-base │ │ │ │ │ ├── test_data_transformer.cpp.svn-base │ │ │ │ │ ├── test_db.cpp.svn-base │ │ │ │ │ ├── test_deconvolution_layer.cpp.svn-base │ │ │ │ │ ├── test_dummy_data_layer.cpp.svn-base │ │ │ │ │ ├── test_eltwise_layer.cpp.svn-base │ │ │ │ │ ├── test_euclidean_loss_layer.cpp.svn-base │ │ │ │ │ ├── test_filler.cpp.svn-base │ │ │ │ │ ├── test_flatten_layer.cpp.svn-base │ │ │ │ │ ├── test_gradient_based_solver.cpp.svn-base │ │ │ │ │ ├── test_hdf5_output_layer.cpp.svn-base │ │ │ │ │ ├── test_hdf5data_layer.cpp.svn-base │ │ │ │ │ ├── test_hinge_loss_layer.cpp.svn-base │ │ │ │ │ ├── test_im2col_kernel.cu.svn-base │ │ │ │ │ ├── test_im2col_layer.cpp.svn-base │ │ │ │ │ ├── test_image_data_layer.cpp.svn-base │ │ │ │ │ ├── test_infogain_loss_layer.cpp.svn-base │ │ │ │ │ ├── test_inner_product_layer.cpp.svn-base │ │ │ │ │ ├── test_internal_thread.cpp.svn-base │ │ │ │ │ ├── test_io.cpp.svn-base │ │ │ │ │ ├── test_layer_factory.cpp.svn-base │ │ │ │ │ ├── test_lrn_layer.cpp.svn-base │ │ │ │ │ ├── test_math_functions.cpp.svn-base │ │ │ │ │ ├── test_maxpool_dropout_layers.cpp.svn-base │ │ │ │ │ ├── test_memory_data_layer.cpp.svn-base │ │ │ │ │ ├── test_multinomial_logistic_loss_layer.cpp.svn-base │ │ │ │ │ ├── test_mvn_layer.cpp.svn-base │ │ │ │ │ ├── test_net.cpp.svn-base │ │ │ │ │ ├── test_neuron_layer.cpp.svn-base │ │ │ │ │ ├── test_platform.cpp.svn-base │ │ │ │ │ ├── test_pooling_layer.cpp.svn-base │ │ │ │ │ ├── test_power_layer.cpp.svn-base │ │ │ │ │ ├── test_protobuf.cpp.svn-base │ │ │ │ │ ├── test_random_number_generator.cpp.svn-base │ │ │ │ │ ├── test_sigmoid_cross_entropy_loss_layer.cpp.svn-base │ │ │ │ │ ├── test_slice_layer.cpp.svn-base │ │ │ │ │ ├── test_softmax_layer.cpp.svn-base │ │ │ │ │ ├── test_softmax_with_loss_layer.cpp.svn-base │ │ │ │ │ ├── test_solver.cpp.svn-base │ │ │ │ │ ├── test_split_layer.cpp.svn-base │ │ │ │ │ ├── test_stochastic_pooling.cpp.svn-base │ │ │ │ │ ├── test_syncedmem.cpp.svn-base │ │ │ │ │ ├── test_tanh_layer.cpp.svn-base │ │ │ │ │ ├── test_threshold_layer.cpp.svn-base │ │ │ │ │ ├── test_upgrade_proto.cpp.svn-base │ │ │ │ │ └── test_util_blas.cpp.svn-base │ │ │ ├── CMakeLists.txt │ │ │ ├── test_accuracy_layer.cpp │ │ │ ├── test_argmax_layer.cpp │ │ │ ├── test_benchmark.cpp │ │ │ ├── test_blob.cpp │ │ │ ├── test_caffe_main.cpp │ │ │ ├── test_common.cpp │ │ │ ├── test_concat_layer.cpp │ │ │ ├── test_contrastive_loss_layer.cpp │ │ │ ├── test_convolution_layer.cpp │ │ │ ├── test_data │ │ │ │ ├── .svn │ │ │ │ │ ├── all-wcprops │ │ │ │ │ ├── entries │ │ │ │ │ └── text-base │ │ │ │ │ │ ├── generate_sample_data.py.svn-base │ │ │ │ │ │ ├── sample_data.h5.svn-base │ │ │ │ │ │ ├── sample_data_2_gzip.h5.svn-base │ │ │ │ │ │ └── sample_data_list.txt.svn-base │ │ │ │ ├── generate_sample_data.py │ │ │ │ ├── sample_data.h5 │ │ │ │ ├── sample_data_2_gzip.h5 │ │ │ │ └── sample_data_list.txt │ │ │ ├── test_data_layer.cpp │ │ │ ├── test_data_transformer.cpp │ │ │ ├── test_db.cpp │ │ │ ├── test_deconvolution_layer.cpp │ │ │ ├── test_dummy_data_layer.cpp │ │ │ ├── test_eltwise_layer.cpp │ │ │ ├── test_euclidean_loss_layer.cpp │ │ │ ├── test_filler.cpp │ │ │ ├── test_flatten_layer.cpp │ │ │ ├── test_gradient_based_solver.cpp │ │ │ ├── test_hdf5_output_layer.cpp │ │ │ ├── test_hdf5data_layer.cpp │ │ │ ├── test_hinge_loss_layer.cpp │ │ │ ├── test_im2col_kernel.cu │ │ │ ├── test_im2col_layer.cpp │ │ │ ├── test_image_data_layer.cpp │ │ │ ├── test_infogain_loss_layer.cpp │ │ │ ├── test_inner_product_layer.cpp │ │ │ ├── test_internal_thread.cpp │ │ │ ├── test_io.cpp │ │ │ ├── test_layer_factory.cpp │ │ │ ├── test_lrn_layer.cpp │ │ │ ├── test_math_functions.cpp │ │ │ ├── test_maxpool_dropout_layers.cpp │ │ │ ├── test_memory_data_layer.cpp │ │ │ ├── test_multinomial_logistic_loss_layer.cpp │ │ │ ├── test_mvn_layer.cpp │ │ │ ├── test_net.cpp │ │ │ ├── test_neuron_layer.cpp │ │ │ ├── test_platform.cpp │ │ │ ├── test_pooling_layer.cpp │ │ │ ├── test_power_layer.cpp │ │ │ ├── test_protobuf.cpp │ │ │ ├── test_random_number_generator.cpp │ │ │ ├── test_sigmoid_cross_entropy_loss_layer.cpp │ │ │ ├── test_slice_layer.cpp │ │ │ ├── test_softmax_layer.cpp │ │ │ ├── test_softmax_loss_expectation_layer.cpp │ │ │ ├── test_softmax_with_loss_layer.cpp │ │ │ ├── test_solver.cpp │ │ │ ├── test_split_layer.cpp │ │ │ ├── test_stochastic_pooling.cpp │ │ │ ├── test_syncedmem.cpp │ │ │ ├── test_tanh_layer.cpp │ │ │ ├── test_threshold_layer.cpp │ │ │ ├── test_upgrade_proto.cpp │ │ │ └── test_util_blas.cpp │ │ └── util │ │ │ ├── .svn │ │ │ ├── all-wcprops │ │ │ ├── entries │ │ │ └── text-base │ │ │ │ ├── benchmark.cpp.svn-base │ │ │ │ ├── db.cpp.svn-base │ │ │ │ ├── im2col.cpp.svn-base │ │ │ │ ├── im2col.cu.svn-base │ │ │ │ ├── insert_splits.cpp.svn-base │ │ │ │ ├── io.cpp.svn-base │ │ │ │ ├── math_functions.cpp.svn-base │ │ │ │ ├── math_functions.cu.svn-base │ │ │ │ └── upgrade_proto.cpp.svn-base │ │ │ ├── benchmark.cpp │ │ │ ├── db.cpp │ │ │ ├── im2col.cpp │ │ │ ├── im2col.cu │ │ │ ├── insert_splits.cpp │ │ │ ├── io.cpp │ │ │ ├── math_functions.cpp │ │ │ ├── math_functions.cu │ │ │ └── upgrade_proto.cpp │ └── gtest │ │ ├── .svn │ │ ├── all-wcprops │ │ ├── entries │ │ └── text-base │ │ │ ├── CMakeLists.txt.svn-base │ │ │ ├── gtest-all.cpp.svn-base │ │ │ ├── gtest.h.svn-base │ │ │ └── gtest_main.cc.svn-base │ │ ├── CMakeLists.txt │ │ ├── gtest-all.cpp │ │ ├── gtest.h │ │ └── gtest_main.cc └── tools │ ├── .svn │ ├── all-wcprops │ ├── entries │ └── text-base │ │ ├── CMakeLists.txt.svn-base │ │ ├── caffe.cpp.svn-base │ │ ├── compute_image_mean.cpp.svn-base │ │ ├── convert_imageset.cpp.svn-base │ │ ├── device_query.cpp.svn-base │ │ ├── extract_features.cpp.svn-base │ │ ├── finetune_net.cpp.svn-base │ │ ├── net_speed_benchmark.cpp.svn-base │ │ ├── test_net.cpp.svn-base │ │ ├── train_net.cpp.svn-base │ │ ├── upgrade_net_proto_binary.cpp.svn-base │ │ └── upgrade_net_proto_text.cpp.svn-base │ ├── CMakeLists.txt │ ├── caffe.cpp │ ├── compute_image_mean.cpp │ ├── convert_imageset.cpp │ ├── device_query.cpp │ ├── extra │ ├── .svn │ │ ├── all-wcprops │ │ ├── entries │ │ ├── prop-base │ │ │ ├── extract_seconds.py.svn-base │ │ │ ├── launch_resize_and_crop_images.sh.svn-base │ │ │ ├── parse_log.py.svn-base │ │ │ ├── parse_log.sh.svn-base │ │ │ ├── plot_training_log.py.example.svn-base │ │ │ └── resize_and_crop_images.py.svn-base │ │ └── text-base │ │ │ ├── extract_seconds.py.svn-base │ │ │ ├── launch_resize_and_crop_images.sh.svn-base │ │ │ ├── parse_log.py.svn-base │ │ │ ├── parse_log.sh.svn-base │ │ │ ├── plot_log.gnuplot.example.svn-base │ │ │ ├── plot_training_log.py.example.svn-base │ │ │ └── resize_and_crop_images.py.svn-base │ ├── extract_seconds.py │ ├── launch_resize_and_crop_images.sh │ ├── parse_log.py │ ├── parse_log.sh │ ├── plot_log.gnuplot.example │ ├── plot_training_log.py.example │ └── resize_and_crop_images.py │ ├── extract_features.cpp │ ├── finetune_net.cpp │ ├── net_speed_benchmark.cpp │ ├── test_net.cpp │ ├── train_net.cpp │ ├── upgrade_net_proto_binary.cpp │ └── upgrade_net_proto_text.cpp └── whats-the-point-2016 ├── code ├── BuildGLTree.mexa64 ├── DeleteGLTree.mexa64 ├── GraphSeg_mex.mexa64 ├── KNNSearch.mexa64 ├── PASCAL_AMT_TIMES.txt ├── README.md ├── build │ ├── pip-delete-this-directory.txt │ └── webcolors │ │ ├── LICENSE │ │ ├── MANIFEST.in │ │ ├── PKG-INFO │ │ ├── README.rst │ │ ├── build │ │ └── lib.linux-x86_64-2.7 │ │ │ └── webcolors.py │ │ ├── docs │ │ ├── Makefile │ │ ├── colors.rst │ │ ├── conf.py │ │ ├── conformance.rst │ │ ├── contents.rst │ │ ├── conventions.rst │ │ ├── faq.rst │ │ ├── index.rst │ │ ├── install.rst │ │ └── make.bat │ │ ├── pip-egg-info │ │ └── webcolors.egg-info │ │ │ ├── PKG-INFO │ │ │ ├── SOURCES.txt │ │ │ ├── dependency_links.txt │ │ │ └── top_level.txt │ │ ├── setup.py │ │ ├── tests │ │ ├── __init__.py │ │ ├── definitions.py │ │ ├── full_colors.py │ │ ├── test_conformance.py │ │ ├── test_hexadecimal.py │ │ ├── test_html5.py │ │ ├── test_integer.py │ │ ├── test_name.py │ │ ├── test_normalization.py │ │ └── test_percent.py │ │ └── webcolors.py ├── compare_to_base_model.py ├── compute-fraction-background.py ├── compute_mIOU.py ├── constants.py ├── create-colorbar.py ├── em.py ├── error_analysis.py ├── eval-detailed.py ├── eval.py ├── find_best_bbox_strategy.py ├── fontconfig │ ├── 04aabc0a78ac019cf9454389977116d2-le64.cache-3 │ ├── 0c9eb80ebd1c36541ebe2852d3bb0c49-le64.cache-3 │ ├── 0d8c3b2ac0904cb8a57a757ad11a4a08-le64.cache-3 │ ├── 188ac73a183f12857f63bb60a4a6d603-le64.cache-3 │ ├── 1ac9eb803944fde146138c791f5cc56a-le64.cache-3 │ ├── 2cd17615ca594fa2959ae173292e504c-le64.cache-3 │ ├── 3047814df9a2f067bd2d96a2b9c36e5a-le64.cache-3 │ ├── 3830d5c3ddfd5cd38a049b759396e72e-le64.cache-3 │ ├── 385c0604a188198f04d133e54aba7fe7-le64.cache-3 │ ├── 3f7329c5293ffd510edef78f73874cfd-le64.cache-3 │ ├── 4794a0821666d79190d59a36cb4f44b5-le64.cache-3 │ ├── 4c599c202bc5c08e2d34565a40eac3b2-le64.cache-3 │ ├── 56cf4f4769d0f4abc89a4895d7bd3ae1-le64.cache-3 │ ├── 57e423e26b20ab21d0f2f29c145174c3-le64.cache-3 │ ├── 6333f38776742d18e214673cd2c24e34-le64.cache-3 │ ├── 6aa41aa22e18b8fa06a12da28ea9c28b-le64.cache-3 │ ├── 707971e003b4ae6c8121c3a920e507f5-le64.cache-3 │ ├── 767a8244fc0220cfb567a839d0392e0b-le64.cache-3 │ ├── 7ef2298fde41cc6eeb7af42e48b7d293-le64.cache-3 │ ├── 8801497958630a81b71ace7c5f9b32a8-le64.cache-3 │ ├── 945677eb7aeaf62f1d50efc3fb3ec7d8-le64.cache-3 │ ├── 95530828ff6c81d309f8258d8d02a23e-le64.cache-3 │ ├── a755afe4a08bf5b97852ceb7400b47bc-le64.cache-3 │ ├── b47c4e1ecd0709278f4910c18777a504-le64.cache-3 │ ├── b9d506c9ac06c20b433354fa67a72993-le64.cache-3 │ ├── c05880de57d1f5e948fdfacc138775d9-le64.cache-3 │ ├── c855463f699352c367813e37f3f70ea7-le64.cache-3 │ ├── cabbd14511b9e8a55e92af97fb3a0461-le64.cache-3 │ ├── d3e5c4ee2ceb1fc347f91d4cefc53bc0-le64.cache-3 │ ├── d52a8644073d54c13679302ca1180695-le64.cache-3 │ ├── d589a48862398ed80a3d6066f4f56f4c-le64.cache-3 │ ├── d82eb4fd963d448e2fcb7d7b793b5df3-le64.cache-3 │ ├── dc05db6664285cc2f12bf69c139ae4c3-le64.cache-3 │ ├── e13b20fdb08344e0e664864cc2ede53d-le64.cache-3 │ ├── e52a45a1c8c8fe895fc0fc8c4e6999b8-le64.cache-3 │ ├── e7071f4a29fa870f4323321c154eba04-le64.cache-3 │ ├── f1f2465696798768e9653f19e17ccdc8-le64.cache-3 │ └── fe547fea3a41b43a38975d292a2b19c7-le64.cache-3 ├── make_idsfile.py ├── make_lmdb.py ├── make_lmdb_three_channel.py ├── make_lmdb_three_channel_partial_fs_partial_points.py ├── oversegment_images.m ├── parse_amt_times.py ├── plot_num_pixels_val.m ├── plot_times.m ├── plot_times_proportional_val.m ├── plot_times_test.m ├── plot_times_test_no_log.m ├── plot_times_val.m ├── plot_times_val_no_log.m ├── prepare_squiggle_gt_labels.py ├── print_best_val.m ├── print_test_page.m ├── print_val_page.m ├── save_random_click_masks_convex_hull.m ├── save_user_click_masks_convex_hull.m ├── segment │ ├── COPYING │ ├── Makefile │ ├── README │ ├── convolve.h │ ├── disjoint-set.h │ ├── filter.h │ ├── image.h │ ├── imconv.h │ ├── imutil.h │ ├── misc.h │ ├── pnmfile.h │ ├── segment │ ├── segment-graph.h │ ├── segment-image.h │ ├── segment.cpp │ └── segment_all_pascal_images.sh ├── siftflow-deploy.prototxt ├── siftflow-train_val.prototxt ├── signal-visualization.py ├── solve.py ├── solver.prototxt ├── vgg_remove_non_pascal_weights.py ├── vgg_remove_non_siftflow_weights.py ├── visualize-clicks.py ├── visualize-gt.py ├── visualize_image_mask.py └── visualize_squiggles.py ├── data └── image_id_lists │ ├── fixed_budget_sets │ ├── pascal_2012t_SBDtv_minus_2012v-10-percent.txt │ ├── pascal_2012t_SBDtv_minus_2012v-1159.txt │ ├── pascal_2012t_SBDtv_minus_2012v-2318.txt │ ├── pascal_2012t_SBDtv_minus_2012v-3032.txt │ ├── pascal_2012t_SBDtv_minus_2012v-441.txt │ ├── pascal_2012t_SBDtv_minus_2012v-4788.txt │ ├── pascal_2012t_SBDtv_minus_2012v-5291.txt │ ├── pascal_2012t_SBDtv_minus_2012v-6064.txt │ ├── pascal_2012t_SBDtv_minus_2012v-883.txt │ ├── pascal_2012t_SBDtv_minus_2012v-9576.txt │ └── pascal_2012t_SBDtv_minus_2012v.txt │ ├── pascal_2012t.txt │ ├── pascal_2012t_SBDtv_minus_2012v.txt │ ├── pascal_2012tv_SBDtv.txt │ ├── pascal_2012v.txt │ ├── pascal_SBDt.txt │ └── pascal_SBDv.txt └── scripts ├── 2011 ├── fs-expectation.sh ├── fs-no-bg-constraint.sh ├── fs-no-bg-objectness-constraint.sh ├── fs-no-bg-objectness.sh ├── fs-no-bg.sh ├── table1_1.sh ├── table2_2.sh ├── user-clicks-expectation-objectness.sh ├── user-clicks-expectation-patch.sh ├── user-clicks-expectation.sh ├── user-clicks-objectness-constraint.sh ├── user-clicks-objectness.sh └── user-clicks.sh ├── 2012 ├── 100-fs-rest-points.sh ├── bbox-cls-con-proportional-half.sh ├── bbox-cls-con-proportional.sh ├── bbox-just-supervised.sh ├── bbox-unnormalized.sh ├── bbox.sh ├── cls-con-sup-unnormalized-obj-normalized.sh ├── fs-cls-con-10-percent.sh ├── fs-cls-con-proportional-half.sh ├── fs-cls-con-proportional.sh ├── fully-supervised.sh ├── image-level-labels-constraint.sh ├── image-level-labels-just-objectness.sh ├── image-level-labels-objectness-constraint.sh ├── image-level-labels-objectness.sh ├── image-level-labels-proportional-half.sh ├── image-level-labels.sh ├── objects-no-bg-no-objectness-constraint.sh ├── objects-no-bg-objectness-constraint.sh ├── pascal-test.sh ├── random1-click1.sh ├── random1-users3-convex.sh ├── random1-users3.sh ├── real1-click1-cls-con-obj-proportional-half.sh ├── real1-click1-cls-con-obj-proportional.sh ├── real1-click1-cls-con-obj-random-from-3-users-1.sh ├── real1-click1-cls-con-obj-random-from-3-users-2.sh ├── real1-click1-cls-con-obj-random-from-3-users-3.sh ├── real1-click1-cls-con-obj.sh ├── real1-click1-cls-con.sh ├── real1-click1-cls.sh ├── real1-click1-con-obj.sh ├── real1-click1-con.sh ├── real1-click1-radius2-unnormalized.sh ├── real1-click1-radius2.sh ├── real1-click1-radius25.sh ├── real1-click1-radius5.sh ├── real1-cls-con-obj.sh ├── real1-rankweight.sh ├── real1-squiggle1-cls-con-obj-proportional-half.sh ├── real1-squiggle1-cls-con-obj-proportional.sh ├── real1-squiggle1-cls-con-obj.sh ├── real1-users3-convex.sh ├── real1-users3.sh ├── siftflow-fs.sh ├── siftflow-labels-cls-con.sh ├── siftflow-real1-click1-cls-con.sh ├── user-clicks-constraint.sh ├── user-clicks-objectness-constraint.sh ├── user-clicks-objectness.sh └── user-clicks.sh └── README.md /caffe/build: -------------------------------------------------------------------------------- 1 | .build_release -------------------------------------------------------------------------------- /caffe/cmake/Modules/.svn/text-base/FindLMDB.cmake.svn-base: -------------------------------------------------------------------------------- 1 | # Try to find the LMBD libraries and headers 2 | # LMDB_FOUND - system has LMDB lib 3 | # LMDB_INCLUDE_DIR - the LMDB include directory 4 | # LMDB_LIBRARIES - Libraries needed to use LMDB 5 | 6 | # FindCWD based on FindGMP by: 7 | # Copyright (c) 2006, Laurent Montel, 8 | # 9 | # Redistribution and use is allowed according to the terms of the BSD license. 10 | 11 | # Adapted from FindCWD by: 12 | # Copyright 2013 Conrad Steenberg 13 | # Aug 31, 2013 14 | 15 | find_path(LMDB_INCLUDE_DIR NAMES lmdb.h PATHS "$ENV{LMDB_DIR}/include") 16 | find_library(LMDB_LIBRARIES NAMES lmdb PATHS "$ENV{LMDB_DIR}/lib" ) 17 | 18 | include(FindPackageHandleStandardArgs) 19 | find_package_handle_standard_args(LMDB DEFAULT_MSG LMDB_INCLUDE_DIR LMDB_LIBRARIES) 20 | 21 | if(LMDB_FOUND) 22 | message(STATUS "Found lmdb (include: ${LMDB_INCLUDE_DIR}, library: ${LMDB_LIBRARIES})") 23 | mark_as_advanced(LMDB_INCLUDE_DIR LMDB_LIBRARIES) 24 | 25 | caffe_parse_header(${LMDB_INCLUDE_DIR}/lmdb.h 26 | LMDB_VERSION_LINES MDB_VERSION_MAJOR MDB_VERSION_MINOR MDB_VERSION_PATCH) 27 | set(LMDB_VERSION "${MDB_VERSION_MAJOR}.${MDB_VERSION_MINOR}.${MDB_VERSION_PATCH}") 28 | endif() 29 | -------------------------------------------------------------------------------- /caffe/cmake/Modules/.svn/text-base/FindSnappy.cmake.svn-base: -------------------------------------------------------------------------------- 1 | # Find the Snappy libraries 2 | # 3 | # The following variables are optionally searched for defaults 4 | # Snappy_ROOT_DIR: Base directory where all Snappy components are found 5 | # 6 | # The following are set after configuration is done: 7 | # SNAPPY_FOUND 8 | # Snappy_INCLUDE_DIR 9 | # Snappy_LIBRARIES 10 | 11 | find_path(Snappy_INCLUDE_DIR NAMES snappy.h 12 | PATHS ${SNAPPY_ROOT_DIR} ${SNAPPY_ROOT_DIR}/include) 13 | 14 | find_library(Snappy_LIBRARIES NAMES snappy 15 | PATHS ${SNAPPY_ROOT_DIR} ${SNAPPY_ROOT_DIR}/lib) 16 | 17 | include(FindPackageHandleStandardArgs) 18 | find_package_handle_standard_args(Snappy DEFAULT_MSG Snappy_INCLUDE_DIR Snappy_LIBRARIES) 19 | 20 | if(SNAPPY_FOUND) 21 | message(STATUS "Found Snappy (include: ${Snappy_INCLUDE_DIR}, library: ${Snappy_LIBRARIES})") 22 | mark_as_advanced(Snappy_INCLUDE_DIR Snappy_LIBRARIES) 23 | 24 | caffe_parse_header(${Snappy_INCLUDE_DIR}/snappy-stubs-public.h 25 | SNAPPY_VERION_LINES SNAPPY_MAJOR SNAPPY_MINOR SNAPPY_PATCHLEVEL) 26 | set(Snappy_VERSION "${SNAPPY_MAJOR}.${SNAPPY_MINOR}.${SNAPPY_PATCHLEVEL}") 27 | endif() 28 | 29 | -------------------------------------------------------------------------------- /caffe/cmake/Modules/FindLMDB.cmake: -------------------------------------------------------------------------------- 1 | # Try to find the LMBD libraries and headers 2 | # LMDB_FOUND - system has LMDB lib 3 | # LMDB_INCLUDE_DIR - the LMDB include directory 4 | # LMDB_LIBRARIES - Libraries needed to use LMDB 5 | 6 | # FindCWD based on FindGMP by: 7 | # Copyright (c) 2006, Laurent Montel, 8 | # 9 | # Redistribution and use is allowed according to the terms of the BSD license. 10 | 11 | # Adapted from FindCWD by: 12 | # Copyright 2013 Conrad Steenberg 13 | # Aug 31, 2013 14 | 15 | find_path(LMDB_INCLUDE_DIR NAMES lmdb.h PATHS "$ENV{LMDB_DIR}/include") 16 | find_library(LMDB_LIBRARIES NAMES lmdb PATHS "$ENV{LMDB_DIR}/lib" ) 17 | 18 | include(FindPackageHandleStandardArgs) 19 | find_package_handle_standard_args(LMDB DEFAULT_MSG LMDB_INCLUDE_DIR LMDB_LIBRARIES) 20 | 21 | if(LMDB_FOUND) 22 | message(STATUS "Found lmdb (include: ${LMDB_INCLUDE_DIR}, library: ${LMDB_LIBRARIES})") 23 | mark_as_advanced(LMDB_INCLUDE_DIR LMDB_LIBRARIES) 24 | 25 | caffe_parse_header(${LMDB_INCLUDE_DIR}/lmdb.h 26 | LMDB_VERSION_LINES MDB_VERSION_MAJOR MDB_VERSION_MINOR MDB_VERSION_PATCH) 27 | set(LMDB_VERSION "${MDB_VERSION_MAJOR}.${MDB_VERSION_MINOR}.${MDB_VERSION_PATCH}") 28 | endif() 29 | -------------------------------------------------------------------------------- /caffe/cmake/Modules/FindSnappy.cmake: -------------------------------------------------------------------------------- 1 | # Find the Snappy libraries 2 | # 3 | # The following variables are optionally searched for defaults 4 | # Snappy_ROOT_DIR: Base directory where all Snappy components are found 5 | # 6 | # The following are set after configuration is done: 7 | # SNAPPY_FOUND 8 | # Snappy_INCLUDE_DIR 9 | # Snappy_LIBRARIES 10 | 11 | find_path(Snappy_INCLUDE_DIR NAMES snappy.h 12 | PATHS ${SNAPPY_ROOT_DIR} ${SNAPPY_ROOT_DIR}/include) 13 | 14 | find_library(Snappy_LIBRARIES NAMES snappy 15 | PATHS ${SNAPPY_ROOT_DIR} ${SNAPPY_ROOT_DIR}/lib) 16 | 17 | include(FindPackageHandleStandardArgs) 18 | find_package_handle_standard_args(Snappy DEFAULT_MSG Snappy_INCLUDE_DIR Snappy_LIBRARIES) 19 | 20 | if(SNAPPY_FOUND) 21 | message(STATUS "Found Snappy (include: ${Snappy_INCLUDE_DIR}, library: ${Snappy_LIBRARIES})") 22 | mark_as_advanced(Snappy_INCLUDE_DIR Snappy_LIBRARIES) 23 | 24 | caffe_parse_header(${Snappy_INCLUDE_DIR}/snappy-stubs-public.h 25 | SNAPPY_VERION_LINES SNAPPY_MAJOR SNAPPY_MINOR SNAPPY_PATCHLEVEL) 26 | set(Snappy_VERSION "${SNAPPY_MAJOR}.${SNAPPY_MINOR}.${SNAPPY_PATCHLEVEL}") 27 | endif() 28 | 29 | -------------------------------------------------------------------------------- /caffe/cmake/Templates/.svn/all-wcprops: -------------------------------------------------------------------------------- 1 | K 25 2 | svn:wc:ra_dav:version-url 3 | V 60 4 | /longjon/caffe/!svn/ver/3030/branches/future/cmake/Templates 5 | END 6 | CaffeConfig.cmake.in 7 | K 25 8 | svn:wc:ra_dav:version-url 9 | V 81 10 | /longjon/caffe/!svn/ver/3030/branches/future/cmake/Templates/CaffeConfig.cmake.in 11 | END 12 | CaffeConfigVersion.cmake.in 13 | K 25 14 | svn:wc:ra_dav:version-url 15 | V 88 16 | /longjon/caffe/!svn/ver/3030/branches/future/cmake/Templates/CaffeConfigVersion.cmake.in 17 | END 18 | caffe_config.h.in 19 | K 25 20 | svn:wc:ra_dav:version-url 21 | V 78 22 | /longjon/caffe/!svn/ver/3030/branches/future/cmake/Templates/caffe_config.h.in 23 | END 24 | -------------------------------------------------------------------------------- /caffe/cmake/Templates/.svn/text-base/CaffeConfigVersion.cmake.in.svn-base: -------------------------------------------------------------------------------- 1 | set(PACKAGE_VERSION "@Caffe_VERSION@") 2 | 3 | # Check whether the requested PACKAGE_FIND_VERSION is compatible 4 | if("${PACKAGE_VERSION}" VERSION_LESS "${PACKAGE_FIND_VERSION}") 5 | set(PACKAGE_VERSION_COMPATIBLE FALSE) 6 | else() 7 | set(PACKAGE_VERSION_COMPATIBLE TRUE) 8 | if ("${PACKAGE_VERSION}" VERSION_EQUAL "${PACKAGE_FIND_VERSION}") 9 | set(PACKAGE_VERSION_EXACT TRUE) 10 | endif() 11 | endif() 12 | -------------------------------------------------------------------------------- /caffe/cmake/Templates/.svn/text-base/caffe_config.h.in.svn-base: -------------------------------------------------------------------------------- 1 | /* Sources directory */ 2 | #define SOURCE_FOLDER "${PROJECT_SOURCE_DIR}" 3 | 4 | /* Binaries directory */ 5 | #define BINARY_FOLDER "${PROJECT_BINARY_DIR}" 6 | 7 | /* NVIDA Cuda */ 8 | #cmakedefine HAVE_CUDA 9 | 10 | /* NVIDA cuDNN */ 11 | #cmakedefine HAVE_CUDNN 12 | #cmakedefine USE_CUDNN 13 | 14 | /* NVIDA cuDNN */ 15 | #cmakedefine CPU_ONLY 16 | 17 | /* Test device */ 18 | #define CUDA_TEST_DEVICE ${CUDA_TEST_DEVICE} 19 | 20 | /* Temporary (TODO: remove) */ 21 | #if 1 22 | #define CMAKE_SOURCE_DIR SOURCE_FOLDER "/src/" 23 | #define EXAMPLES_SOURCE_DIR BINARY_FOLDER "/examples/" 24 | #define CMAKE_EXT ".gen.cmake" 25 | #else 26 | #define CMAKE_SOURCE_DIR "src/" 27 | #define EXAMPLES_SOURCE_DIR "examples/" 28 | #define CMAKE_EXT "" 29 | #endif 30 | 31 | /* Matlab */ 32 | #cmakedefine HAVE_MATLAB 33 | -------------------------------------------------------------------------------- /caffe/cmake/Templates/CaffeConfigVersion.cmake.in: -------------------------------------------------------------------------------- 1 | set(PACKAGE_VERSION "@Caffe_VERSION@") 2 | 3 | # Check whether the requested PACKAGE_FIND_VERSION is compatible 4 | if("${PACKAGE_VERSION}" VERSION_LESS "${PACKAGE_FIND_VERSION}") 5 | set(PACKAGE_VERSION_COMPATIBLE FALSE) 6 | else() 7 | set(PACKAGE_VERSION_COMPATIBLE TRUE) 8 | if ("${PACKAGE_VERSION}" VERSION_EQUAL "${PACKAGE_FIND_VERSION}") 9 | set(PACKAGE_VERSION_EXACT TRUE) 10 | endif() 11 | endif() 12 | -------------------------------------------------------------------------------- /caffe/cmake/Templates/caffe_config.h.in: -------------------------------------------------------------------------------- 1 | /* Sources directory */ 2 | #define SOURCE_FOLDER "${PROJECT_SOURCE_DIR}" 3 | 4 | /* Binaries directory */ 5 | #define BINARY_FOLDER "${PROJECT_BINARY_DIR}" 6 | 7 | /* NVIDA Cuda */ 8 | #cmakedefine HAVE_CUDA 9 | 10 | /* NVIDA cuDNN */ 11 | #cmakedefine HAVE_CUDNN 12 | #cmakedefine USE_CUDNN 13 | 14 | /* NVIDA cuDNN */ 15 | #cmakedefine CPU_ONLY 16 | 17 | /* Test device */ 18 | #define CUDA_TEST_DEVICE ${CUDA_TEST_DEVICE} 19 | 20 | /* Temporary (TODO: remove) */ 21 | #if 1 22 | #define CMAKE_SOURCE_DIR SOURCE_FOLDER "/src/" 23 | #define EXAMPLES_SOURCE_DIR BINARY_FOLDER "/examples/" 24 | #define CMAKE_EXT ".gen.cmake" 25 | #else 26 | #define CMAKE_SOURCE_DIR "src/" 27 | #define EXAMPLES_SOURCE_DIR "examples/" 28 | #define CMAKE_EXT "" 29 | #endif 30 | 31 | /* Matlab */ 32 | #cmakedefine HAVE_MATLAB 33 | -------------------------------------------------------------------------------- /caffe/include/.svn/all-wcprops: -------------------------------------------------------------------------------- 1 | K 25 2 | svn:wc:ra_dav:version-url 3 | V 52 4 | /longjon/caffe/!svn/ver/3160/branches/future/include 5 | END 6 | -------------------------------------------------------------------------------- /caffe/include/.svn/entries: -------------------------------------------------------------------------------- 1 | 10 2 | 3 | dir 4 | 3639 5 | https://github.com/longjon/caffe/branches/future/include 6 | https://github.com/longjon/caffe 7 | 8 | 9 | 10 | 2015-03-10T02:04:55.000000Z 11 | 3160 12 | evan.shelhamer 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 1e5fafd2-bfcf-ec08-a984-ce57b7db7bff 28 | 29 | caffe 30 | dir 31 | 32 | -------------------------------------------------------------------------------- /caffe/include/caffe/.svn/text-base/caffe.hpp.svn-base: -------------------------------------------------------------------------------- 1 | // caffe.hpp is the header file that you need to include in your code. It wraps 2 | // all the internal caffe header files into one for simpler inclusion. 3 | 4 | #ifndef CAFFE_CAFFE_HPP_ 5 | #define CAFFE_CAFFE_HPP_ 6 | 7 | #include "caffe/blob.hpp" 8 | #include "caffe/common.hpp" 9 | #include "caffe/filler.hpp" 10 | #include "caffe/layer.hpp" 11 | #include "caffe/layer_factory.hpp" 12 | #include "caffe/net.hpp" 13 | #include "caffe/proto/caffe.pb.h" 14 | #include "caffe/solver.hpp" 15 | #include "caffe/util/benchmark.hpp" 16 | #include "caffe/util/io.hpp" 17 | #include "caffe/vision_layers.hpp" 18 | 19 | #endif // CAFFE_CAFFE_HPP_ 20 | -------------------------------------------------------------------------------- /caffe/include/caffe/.svn/text-base/internal_thread.hpp.svn-base: -------------------------------------------------------------------------------- 1 | #ifndef CAFFE_INTERNAL_THREAD_HPP_ 2 | #define CAFFE_INTERNAL_THREAD_HPP_ 3 | 4 | #include "caffe/common.hpp" 5 | 6 | /** 7 | Forward declare boost::thread instead of including boost/thread.hpp 8 | to avoid a boost/NVCC issues (#1009, #1010) on OSX. 9 | */ 10 | namespace boost { class thread; } 11 | 12 | namespace caffe { 13 | 14 | /** 15 | * Virtual class encapsulate boost::thread for use in base class 16 | * The child class will acquire the ability to run a single thread, 17 | * by reimplementing the virutal function InternalThreadEntry. 18 | */ 19 | class InternalThread { 20 | public: 21 | InternalThread() : thread_() {} 22 | virtual ~InternalThread(); 23 | 24 | /** Returns true if the thread was successfully started. **/ 25 | bool StartInternalThread(); 26 | 27 | /** Will not return until the internal thread has exited. */ 28 | bool WaitForInternalThreadToExit(); 29 | 30 | bool is_started() const; 31 | 32 | protected: 33 | /* Implement this method in your subclass 34 | with the code you want your thread to run. */ 35 | virtual void InternalThreadEntry() {} 36 | 37 | shared_ptr thread_; 38 | }; 39 | 40 | } // namespace caffe 41 | 42 | #endif // CAFFE_INTERNAL_THREAD_HPP_ 43 | -------------------------------------------------------------------------------- /caffe/include/caffe/caffe.hpp: -------------------------------------------------------------------------------- 1 | // caffe.hpp is the header file that you need to include in your code. It wraps 2 | // all the internal caffe header files into one for simpler inclusion. 3 | 4 | #ifndef CAFFE_CAFFE_HPP_ 5 | #define CAFFE_CAFFE_HPP_ 6 | 7 | #include "caffe/blob.hpp" 8 | #include "caffe/common.hpp" 9 | #include "caffe/filler.hpp" 10 | #include "caffe/layer.hpp" 11 | #include "caffe/layer_factory.hpp" 12 | #include "caffe/net.hpp" 13 | #include "caffe/proto/caffe.pb.h" 14 | #include "caffe/solver.hpp" 15 | #include "caffe/util/benchmark.hpp" 16 | #include "caffe/util/io.hpp" 17 | #include "caffe/vision_layers.hpp" 18 | 19 | #endif // CAFFE_CAFFE_HPP_ 20 | -------------------------------------------------------------------------------- /caffe/include/caffe/internal_thread.hpp: -------------------------------------------------------------------------------- 1 | #ifndef CAFFE_INTERNAL_THREAD_HPP_ 2 | #define CAFFE_INTERNAL_THREAD_HPP_ 3 | 4 | #include "caffe/common.hpp" 5 | 6 | /** 7 | Forward declare boost::thread instead of including boost/thread.hpp 8 | to avoid a boost/NVCC issues (#1009, #1010) on OSX. 9 | */ 10 | namespace boost { class thread; } 11 | 12 | namespace caffe { 13 | 14 | /** 15 | * Virtual class encapsulate boost::thread for use in base class 16 | * The child class will acquire the ability to run a single thread, 17 | * by reimplementing the virutal function InternalThreadEntry. 18 | */ 19 | class InternalThread { 20 | public: 21 | InternalThread() : thread_() {} 22 | virtual ~InternalThread(); 23 | 24 | /** Returns true if the thread was successfully started. **/ 25 | bool StartInternalThread(); 26 | 27 | /** Will not return until the internal thread has exited. */ 28 | bool WaitForInternalThreadToExit(); 29 | 30 | bool is_started() const; 31 | 32 | protected: 33 | /* Implement this method in your subclass 34 | with the code you want your thread to run. */ 35 | virtual void InternalThreadEntry() {} 36 | 37 | shared_ptr thread_; 38 | }; 39 | 40 | } // namespace caffe 41 | 42 | #endif // CAFFE_INTERNAL_THREAD_HPP_ 43 | -------------------------------------------------------------------------------- /caffe/include/caffe/test/.svn/all-wcprops: -------------------------------------------------------------------------------- 1 | K 25 2 | svn:wc:ra_dav:version-url 3 | V 63 4 | /longjon/caffe/!svn/ver/3160/branches/future/include/caffe/test 5 | END 6 | test_gradient_check_util.hpp 7 | K 25 8 | svn:wc:ra_dav:version-url 9 | V 92 10 | /longjon/caffe/!svn/ver/3160/branches/future/include/caffe/test/test_gradient_check_util.hpp 11 | END 12 | test_caffe_main.hpp 13 | K 25 14 | svn:wc:ra_dav:version-url 15 | V 83 16 | /longjon/caffe/!svn/ver/3030/branches/future/include/caffe/test/test_caffe_main.hpp 17 | END 18 | -------------------------------------------------------------------------------- /caffe/include/caffe/test/.svn/entries: -------------------------------------------------------------------------------- 1 | 10 2 | 3 | dir 4 | 3639 5 | https://github.com/longjon/caffe/branches/future/include/caffe/test 6 | https://github.com/longjon/caffe 7 | 8 | 9 | 10 | 2015-03-10T02:04:55.000000Z 11 | 3160 12 | evan.shelhamer 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 1e5fafd2-bfcf-ec08-a984-ce57b7db7bff 28 | 29 | test_gradient_check_util.hpp 30 | file 31 | 32 | 33 | 34 | 35 | 2015-04-16T16:40:06.278545Z 36 | f2c83eed38b9201b73415ca2fd28d592 37 | 2015-03-10T02:04:55.000000Z 38 | 3160 39 | evan.shelhamer 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 11063 62 | 63 | test_caffe_main.hpp 64 | file 65 | 66 | 67 | 68 | 69 | 2015-04-16T16:40:06.274545Z 70 | 942b3565968369a93919be71bf34ef7d 71 | 2015-03-10T02:04:55.000000Z 72 | 3030 73 | evan.shelhamer 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 1545 96 | 97 | -------------------------------------------------------------------------------- /caffe/include/caffe/util/.svn/text-base/insert_splits.hpp.svn-base: -------------------------------------------------------------------------------- 1 | #ifndef _CAFFE_UTIL_INSERT_SPLITS_HPP_ 2 | #define _CAFFE_UTIL_INSERT_SPLITS_HPP_ 3 | 4 | #include 5 | 6 | #include "caffe/proto/caffe.pb.h" 7 | 8 | namespace caffe { 9 | 10 | // Copy NetParameters with SplitLayers added to replace any shared bottom 11 | // blobs with unique bottom blobs provided by the SplitLayer. 12 | void InsertSplits(const NetParameter& param, NetParameter* param_split); 13 | 14 | void ConfigureSplitLayer(const string& layer_name, const string& blob_name, 15 | const int blob_idx, const int split_count, const float loss_weight, 16 | LayerParameter* split_layer_param); 17 | 18 | string SplitLayerName(const string& layer_name, const string& blob_name, 19 | const int blob_idx); 20 | 21 | string SplitBlobName(const string& layer_name, const string& blob_name, 22 | const int blob_idx, const int split_idx); 23 | 24 | } // namespace caffe 25 | 26 | #endif // CAFFE_UTIL_INSERT_SPLITS_HPP_ 27 | -------------------------------------------------------------------------------- /caffe/include/caffe/util/insert_splits.hpp: -------------------------------------------------------------------------------- 1 | #ifndef _CAFFE_UTIL_INSERT_SPLITS_HPP_ 2 | #define _CAFFE_UTIL_INSERT_SPLITS_HPP_ 3 | 4 | #include 5 | 6 | #include "caffe/proto/caffe.pb.h" 7 | 8 | namespace caffe { 9 | 10 | // Copy NetParameters with SplitLayers added to replace any shared bottom 11 | // blobs with unique bottom blobs provided by the SplitLayer. 12 | void InsertSplits(const NetParameter& param, NetParameter* param_split); 13 | 14 | void ConfigureSplitLayer(const string& layer_name, const string& blob_name, 15 | const int blob_idx, const int split_count, const float loss_weight, 16 | LayerParameter* split_layer_param); 17 | 18 | string SplitLayerName(const string& layer_name, const string& blob_name, 19 | const int blob_idx); 20 | 21 | string SplitBlobName(const string& layer_name, const string& blob_name, 22 | const int blob_idx, const int split_idx); 23 | 24 | } // namespace caffe 25 | 26 | #endif // CAFFE_UTIL_INSERT_SPLITS_HPP_ 27 | -------------------------------------------------------------------------------- /caffe/models/fcn-32s-pascal/2012/100-fs-rest-points/README.md: -------------------------------------------------------------------------------- 1 | Hybrid supervision (100 fully-supervised images and the rest point supervised). 2 | 3 | Row 11 of Table 1 in the paper. 4 | -------------------------------------------------------------------------------- /caffe/models/fcn-32s-pascal/2012/100-fs-rest-points/caffemodel-url: -------------------------------------------------------------------------------- 1 | http://vision.stanford.edu/whats_the_point/models/fcn-32s-pascal/100-fs-rest-points/model.caffemodel 2 | -------------------------------------------------------------------------------- /caffe/models/fcn-32s-pascal/2012/100-fs-rest-points/solver.prototxt: -------------------------------------------------------------------------------- 1 | net: "/imagenetdb3/abearman/caffe/models/fcn-32s-pascal/2012/100-fs-rest-points/train_val.prototxt" test_iter: 5105 2 | # make test net, but don't invoke it from the solver itself 3 | test_interval: 1000000 4 | display: 1 lr_policy: "fixed" 5 | # lr for unnormalized softmax -- see train_val definition 6 | base_lr: 1e-5 momentum: 0.9 7 | # no gradient accumulation 8 | iter_size: 1 9 | max_iter: 80000 10 | weight_decay: 0.0005 11 | snapshot: 10000 12 | snapshot_prefix: "train" 13 | test_initialization: false 14 | -------------------------------------------------------------------------------- /caffe/models/fcn-32s-pascal/2012/fs-cls-con/README.md: -------------------------------------------------------------------------------- 1 | Fully supervised model, with the classes term and the constraint term. 2 | 3 | Row 10 of Table 1 in the paper. 4 | -------------------------------------------------------------------------------- /caffe/models/fcn-32s-pascal/2012/fs-cls-con/caffemodel-url: -------------------------------------------------------------------------------- 1 | http://vision.stanford.edu/whats_the_point/models/fcn-32s-pascal/fs-cls-con/model.caffemodel 2 | -------------------------------------------------------------------------------- /caffe/models/fcn-32s-pascal/2012/fs-cls-con/solver.prototxt: -------------------------------------------------------------------------------- 1 | net: "/imagenetdb3/abearman/caffe/models/fcn-32s-pascal/2012/fs-cls-con/train_val.prototxt" test_iter: 5105 2 | # make test net, but don't invoke it from the solver itself 3 | test_interval: 1000000 4 | display: 1 lr_policy: "fixed" 5 | # lr for unnormalized softmax -- see train_val definition 6 | base_lr: 1e-5 momentum: 0.9 7 | # no gradient accumulation 8 | iter_size: 1 9 | max_iter: 80000 10 | weight_decay: 0.0005 11 | snapshot: 10000 12 | snapshot_prefix: "train" 13 | test_initialization: false 14 | -------------------------------------------------------------------------------- /caffe/models/fcn-32s-pascal/2012/image-level-labels-cls-con-obj/README.md: -------------------------------------------------------------------------------- 1 | Model supervised only with image-level labels, with the classes term, the constraint term, and the objectness term. 2 | 3 | Row 2 of Table 1 in the paper. 4 | 5 | -------------------------------------------------------------------------------- /caffe/models/fcn-32s-pascal/2012/image-level-labels-cls-con-obj/caffemodel-url: -------------------------------------------------------------------------------- 1 | http://vision.stanford.edu/whats_the_point/models/fcn-32s-pascal/image-level-labels-cls-con-obj/model.caffemodel 2 | -------------------------------------------------------------------------------- /caffe/models/fcn-32s-pascal/2012/image-level-labels-cls-con-obj/solver.prototxt: -------------------------------------------------------------------------------- 1 | net: "/imagenetdb3/abearman/caffe/models/clean-fcn-32s-pascal/2012/image-level-labels-objectness-constraint/train_val.prototxt" 2 | test_iter: 5105 3 | # make test net, but don't invoke it from the solver itself 4 | test_interval: 1000000 5 | display: 1 average_loss: 20 6 | lr_policy: "fixed" 7 | # lr for unnormalized softmax -- see train_val definition 8 | base_lr: 1e-5 # high momentum 9 | momentum: 0.9 10 | # no gradient accumulation 11 | iter_size: 1 12 | max_iter: 80000 13 | weight_decay: 0.0005 14 | snapshot: 10000 15 | snapshot_prefix: "train" 16 | test_initialization: false 17 | -------------------------------------------------------------------------------- /caffe/models/fcn-32s-pascal/2012/image-level-labels-cls-con/README.md: -------------------------------------------------------------------------------- 1 | Model supervised only with image-level labels, with the classes term and the constraint term. 2 | 3 | Row 1 of Table 1 in the paper. 4 | 5 | -------------------------------------------------------------------------------- /caffe/models/fcn-32s-pascal/2012/image-level-labels-cls-con/caffemodel-url: -------------------------------------------------------------------------------- 1 | http://vision.stanford.edu/whats_the_point/models/fcn-32s-pascal/image-level-labels-cls-con/model.caffemodel 2 | -------------------------------------------------------------------------------- /caffe/models/fcn-32s-pascal/2012/image-level-labels-cls-con/solver.prototxt: -------------------------------------------------------------------------------- 1 | net: "/imagenetdb3/abearman/caffe/models/clean-fcn-32s-pascal/2012/image-level-labels-constraint/train_val.prototxt" 2 | test_iter: 5105 3 | # make test net, but don't invoke it from the solver itself 4 | test_interval: 1000000 5 | display: 1 average_loss: 20 6 | lr_policy: "fixed" 7 | # lr for unnormalized softmax -- see train_val definition 8 | base_lr: 1e-5 # high momentum 9 | momentum: 0.9 10 | # no gradient accumulation 11 | iter_size: 1 12 | max_iter: 80000 13 | weight_decay: 0.0005 14 | snapshot: 10000 15 | snapshot_prefix: "train" 16 | test_initialization: false 17 | -------------------------------------------------------------------------------- /caffe/models/fcn-32s-pascal/2012/random1-click1-cls-con-obj/README.md: -------------------------------------------------------------------------------- 1 | Model supervised with point-level supervision (1 point per object class) obtained randomly from the ground truth segmentation, with the classes term, the constraint term, and the objectness term. 2 | 3 | Row 8 of Table 1 in the paper. 4 | -------------------------------------------------------------------------------- /caffe/models/fcn-32s-pascal/2012/random1-click1-cls-con-obj/caffemodel-url: -------------------------------------------------------------------------------- 1 | http://vision.stanford.edu/whats_the_point/models/fcn-32s-pascal/random1-click1-cls-con-obj-rankweight/model.caffemodel 2 | 3 | -------------------------------------------------------------------------------- /caffe/models/fcn-32s-pascal/2012/random1-click1-cls-con-obj/solver.prototxt: -------------------------------------------------------------------------------- 1 | net: "/imagenetdb3/abearman/caffe/models/clean-fcn-32s-pascal/2012/random-click1-classes-objectness-constraint/train_val.prototxt" 2 | test_iter: 5105 3 | # make test net, but don't invoke it from the solver itself 4 | test_interval: 1000000 5 | display: 1 average_loss: 20 6 | lr_policy: "fixed" 7 | # lr for unnormalized softmax -- see train_val definition 8 | base_lr: 5e-5 # high momentum 9 | momentum: 0.9 10 | # no gradient accumulation 11 | iter_size: 1 12 | max_iter: 80000 13 | weight_decay: 0.0005 14 | snapshot: 10000 15 | snapshot_prefix: "train" 16 | test_initialization: false 17 | -------------------------------------------------------------------------------- /caffe/models/fcn-32s-pascal/2012/real1-click1-cls-con-obj-3annotators/README.md: -------------------------------------------------------------------------------- 1 | Model supervised with point-level supervision (1 point per each object instance), with the classes term, the constraint term, and the objectness term. 3 annotators were used, and all annotations are retained. 2 | 3 | Row 7 of Table 1 in the paper. 4 | -------------------------------------------------------------------------------- /caffe/models/fcn-32s-pascal/2012/real1-click1-cls-con-obj-3annotators/caffemodel-url: -------------------------------------------------------------------------------- 1 | http://vision.stanford.edu/whats_the_point/models/fcn-32s-pascal/real1-cls-con-obj-3annotators/model.caffemodel 2 | -------------------------------------------------------------------------------- /caffe/models/fcn-32s-pascal/2012/real1-click1-cls-con-obj-3annotators/solver.prototxt: -------------------------------------------------------------------------------- 1 | net: "/imagenetdb3/abearman/caffe/models/clean-fcn-32s-pascal/2012/real1-users3/train_val.prototxt" 2 | test_iter: 5105 3 | # make test net, but don't invoke it from the solver itself 4 | test_interval: 1000000 5 | display: 1 average_loss: 20 6 | lr_policy: "fixed" 7 | # lr for unnormalized softmax -- see train_val definition 8 | base_lr: 1e-5 # high momentum 9 | momentum: 0.9 10 | # no gradient accumulation 11 | iter_size: 1 12 | max_iter: 80000 13 | weight_decay: 0.0005 14 | snapshot: 10000 15 | snapshot_prefix: "train" 16 | test_initialization: false 17 | -------------------------------------------------------------------------------- /caffe/models/fcn-32s-pascal/2012/real1-click1-cls-con-obj/README.md: -------------------------------------------------------------------------------- 1 | Model supervised with point-level supervision (1 point per object class), with the classes term, the constraint term, and the objectness term. 2 | 3 | Row 4 of Table 1 in the paper. 4 | 5 | -------------------------------------------------------------------------------- /caffe/models/fcn-32s-pascal/2012/real1-click1-cls-con-obj/caffemodel-url: -------------------------------------------------------------------------------- 1 | http://vision.stanford.edu/whats_the_point/models/fcn-32s-pascal/real1-click1-cls-con-obj/model.caffemodel 2 | -------------------------------------------------------------------------------- /caffe/models/fcn-32s-pascal/2012/real1-click1-cls-con-obj/solver.prototxt: -------------------------------------------------------------------------------- 1 | net: "/imagenetdb3/abearman/caffe/models/fcn-32s-pascal/2012/real1-click1-cls-con-obj/train_val.prototxt" test_iter: 5105 2 | # make test net, but don't invoke it from the solver itself 3 | test_interval: 1000000 4 | display: 1 lr_policy: "fixed" 5 | # lr for unnormalized softmax -- see train_val definition 6 | base_lr: 1e-5 momentum: 0.9 7 | # no gradient accumulation 8 | iter_size: 1 9 | max_iter: 80000 10 | weight_decay: 0.0005 11 | snapshot: 10000 12 | snapshot_prefix: "train" 13 | test_initialization: false 14 | -------------------------------------------------------------------------------- /caffe/models/fcn-32s-pascal/2012/real1-click1-cls-con/README.md: -------------------------------------------------------------------------------- 1 | Model supervised with point-level supervision (1 point per object class), with the classes term and the constraint term. 2 | 3 | Row 3 of Table 1 in the paper. 4 | -------------------------------------------------------------------------------- /caffe/models/fcn-32s-pascal/2012/real1-click1-cls-con/caffemodel-url: -------------------------------------------------------------------------------- 1 | http://vision.stanford.edu/whats_the_point/models/fcn-32s-pascal/real1-click1-cls-con/model.caffemodel 2 | -------------------------------------------------------------------------------- /caffe/models/fcn-32s-pascal/2012/real1-click1-cls-con/solver.prototxt: -------------------------------------------------------------------------------- 1 | net: "/imagenetdb3/abearman/caffe/models/clean-fcn-32s-pascal/2012/real1-click1-cls-con/train_val.prototxt" 2 | test_iter: 5105 3 | # make test net, but don't invoke it from the solver itself 4 | test_interval: 1000000 5 | display: 1 average_loss: 20 6 | lr_policy: "fixed" 7 | # lr for unnormalized softmax -- see train_val definition 8 | base_lr: 1e-5 # high momentum 9 | momentum: 0.9 10 | # no gradient accumulation 11 | iter_size: 1 12 | max_iter: 80000 13 | weight_decay: 0.0005 14 | snapshot: 10000 15 | snapshot_prefix: "train" 16 | test_initialization: false 17 | -------------------------------------------------------------------------------- /caffe/models/fcn-32s-pascal/2012/real1-cls-con-obj-rankweight/README.md: -------------------------------------------------------------------------------- 1 | Model supervised with point-level supervision (1 point per each object instance), with the classes term, the constraint term, and the objectness term. The points are weighted in the order in which they were annotated. 2 | 3 | Row 6 of Table 1 in the paper. 4 | 5 | -------------------------------------------------------------------------------- /caffe/models/fcn-32s-pascal/2012/real1-cls-con-obj-rankweight/caffemodel-url: -------------------------------------------------------------------------------- 1 | http://vision.stanford.edu/whats_the_point/models/fcn-32s-pascal/real1-cls-con-obj-rankweight/model.caffemodel 2 | -------------------------------------------------------------------------------- /caffe/models/fcn-32s-pascal/2012/real1-cls-con-obj-rankweight/solver.prototxt: -------------------------------------------------------------------------------- 1 | net: "/imagenetdb3/abearman/caffe/models/clean-fcn-32s-pascal/2012/real1-rankweight/train_val.prototxt" 2 | test_iter: 5105 3 | # make test net, but don't invoke it from the solver itself 4 | test_interval: 1000000 5 | display: 1 average_loss: 20 6 | lr_policy: "fixed" 7 | # lr for unnormalized softmax -- see train_val definition 8 | base_lr: 1e-5 # high momentum 9 | momentum: 0.9 10 | # no gradient accumulation 11 | iter_size: 1 12 | max_iter: 80000 13 | weight_decay: 0.0005 14 | snapshot: 10000 15 | snapshot_prefix: "train" 16 | test_initialization: false 17 | -------------------------------------------------------------------------------- /caffe/models/fcn-32s-pascal/2012/real1-cls-con-obj/README.md: -------------------------------------------------------------------------------- 1 | Model supervised with point-level supervision (1 point per each object instance), with the classes term, the constraint term, and the objectness term. 2 | 3 | Row 5 of Table 1 in the paper. 4 | -------------------------------------------------------------------------------- /caffe/models/fcn-32s-pascal/2012/real1-cls-con-obj/caffemodel-url: -------------------------------------------------------------------------------- 1 | http://vision.stanford.edu/whats_the_point/models/fcn-32s-pascal/real1-cls-con-obj/model.caffemodel 2 | -------------------------------------------------------------------------------- /caffe/models/fcn-32s-pascal/2012/real1-cls-con-obj/solver.prototxt: -------------------------------------------------------------------------------- 1 | net: "/imagenetdb3/abearman/caffe/models/clean-fcn-32s-pascal/2012/user-clicks-classes-objectness-constraint/train_val.prototxt" 2 | test_iter: 5105 3 | # make test net, but don't invoke it from the solver itself 4 | test_interval: 1000000 5 | display: 1 average_loss: 20 6 | lr_policy: "fixed" 7 | # lr for unnormalized softmax -- see train_val definition 8 | base_lr: 5e-5 # high momentum 9 | momentum: 0.9 10 | # no gradient accumulation 11 | iter_size: 1 12 | max_iter: 80000 13 | weight_decay: 0.0005 14 | snapshot: 10000 15 | snapshot_prefix: "train" 16 | test_initialization: false 17 | -------------------------------------------------------------------------------- /caffe/models/fcn-32s-pascal/2012/real1-squiggle1-cls-con-obj/README.md: -------------------------------------------------------------------------------- 1 | Model supervised with squiggle-level supervision, with the classes term, the constraint term, and the objectness term. 2 | 3 | Row 12 of Table 1 in the paper. 4 | -------------------------------------------------------------------------------- /caffe/models/fcn-32s-pascal/2012/real1-squiggle1-cls-con-obj/caffemodel-url: -------------------------------------------------------------------------------- 1 | http://vision.stanford.edu/whats_the_point/models/fcn-32s-pascal/real1-squiggle1-cls-con-obj/model.caffemodel 2 | -------------------------------------------------------------------------------- /caffe/models/fcn-32s-pascal/2012/real1-squiggle1-cls-con-obj/solver.prototxt: -------------------------------------------------------------------------------- 1 | net: "/imagenetdb3/abearman/caffe/models/fcn-32s-pascal/2012/real1-squiggle1-cls-con-obj/train_val.prototxt" test_iter: 5105 2 | # make test net, but don't invoke it from the solver itself 3 | test_interval: 1000000 4 | display: 1 lr_policy: "fixed" 5 | # lr for unnormalized softmax -- see train_val definition 6 | base_lr: 1e-5 momentum: 0.9 7 | # no gradient accumulation 8 | iter_size: 1 9 | max_iter: 80000 10 | weight_decay: 0.0005 11 | snapshot: 10000 12 | snapshot_prefix: "train" 13 | test_initialization: false 14 | -------------------------------------------------------------------------------- /caffe/models/fcn-32s-pascal/README.md: -------------------------------------------------------------------------------- 1 | The *.prototxt files in this directory are for the general FCN-32S-PASCAL model case. Specific versions for the different models are created and saved in the subdirectories of this directory. 2 | -------------------------------------------------------------------------------- /caffe/models/fcn-32s-pascal/solver.prototxt: -------------------------------------------------------------------------------- 1 | net: "/imagenetdb3/abearman/caffe/models/clean-fcn-32s-pascal/2012/real1-click1-cls-con-obj/train_val.prototxt" 2 | test_iter: 5105 3 | # make test net, but don't invoke it from the solver itself 4 | test_interval: 1000000 5 | display: 1 average_loss: 20 6 | lr_policy: "fixed" 7 | # lr for unnormalized softmax -- see train_val definition 8 | base_lr: 1e-5 # high momentum 9 | momentum: 0.9 10 | # no gradient accumulation 11 | iter_size: 1 12 | max_iter: 80000 13 | weight_decay: 0.0005 14 | snapshot: 10000 15 | snapshot_prefix: "train" 16 | test_initialization: false 17 | -------------------------------------------------------------------------------- /caffe/models/vgg16-conv-pascal/README.md: -------------------------------------------------------------------------------- 1 | Initial network for all our fully convolutional networks trained on PASCAL VOC 2012. All classifier weights are zero, except for weights learned by the [original VGG network](https://gist.github.com/ksimonyan/211839e770f7b538e2d8) for classes common to both PASCAL and ILSVRC. It does a 21-way pixel-wise softmax classification for the 21 PASCAL VOC 2012 classes (including background). 2 | 3 | -------------------------------------------------------------------------------- /caffe/models/vgg16-conv-pascal/caffemodel-url: -------------------------------------------------------------------------------- 1 | http://vision.stanford.edu/whats_the_point/models/vgg16-conv-pascal/vgg16-conv-pascal.caffemodel 2 | -------------------------------------------------------------------------------- /caffe/models/vgg16-conv-pascal/mapping.txt: -------------------------------------------------------------------------------- 1 | Mapping from PASCAL classes to ILSVRC classes 2 | 3 | 1: 404 4 | 2: 671 5 | 3: 12 6 | 4: 814 7 | 5: 907 8 | 6: 654 9 | 7: 609 10 | 8: 284 11 | 9: 559 12 | 10: 345 13 | 11: 532 14 | 12: 234 15 | 13: 339 16 | 14: 665 17 | 15: 981 18 | 16: 738 19 | 17: 348 20 | 18: 831 21 | 19: 466 22 | 20: 664 23 | -------------------------------------------------------------------------------- /caffe/models/vgg16-conv/README.md: -------------------------------------------------------------------------------- 1 | Convolutional VGG 16-layer network based on [this model](https://gist.github.com/ksimonyan/211839e770f7b538e2d8), with all fully connected layers converted to convolutional layers. It does a 1,000-way pixelwise softmax classification for the 1,000 ILSVRC classes. 2 | -------------------------------------------------------------------------------- /caffe/models/vgg16-conv/caffemodel-url: -------------------------------------------------------------------------------- 1 | http://vision.stanford.edu/whats_the_point/models/vgg16-conv/model.caffemodel 2 | -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/.DS_Store -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/002053.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/002053.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/Data/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/Data/.DS_Store -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/Data/CClikelihood.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/Data/CClikelihood.mat -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/Data/EDlikelihood.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/Data/EDlikelihood.mat -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/Data/MSlikelihood.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/Data/MSlikelihood.mat -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/Data/SSlikelihood.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/Data/SSlikelihood.mat -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/Data/params.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/Data/params.mat -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/MEX/NMS_sampling.mexa64: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/MEX/NMS_sampling.mexa64 -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/MEX/computeIntegralHistogramMex.mexa64: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/MEX/computeIntegralHistogramMex.mexa64 -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/MEX/computeScoreContrast.mexa64: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/MEX/computeScoreContrast.mexa64 -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/MEX/nms4d.mexa64: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/MEX/nms4d.mexa64 -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/MEX/scoreSamplingMex.mexa64: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/MEX/scoreSamplingMex.mexa64 -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/MEX/slidingWindowComputeScore.mexa64: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/MEX/slidingWindowComputeScore.mexa64 -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/README.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/README.txt -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/Training/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/Training/.DS_Store -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/Training/Images/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/Training/Images/.DS_Store -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/Training/Images/000281.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/Training/Images/000281.png -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/Training/Images/000912.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/Training/Images/000912.png -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/Training/Images/000933.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/Training/Images/000933.png -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/Training/Images/001056.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/Training/Images/001056.png -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/Training/Images/001962.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/Training/Images/001962.png -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/Training/Images/002453.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/Training/Images/002453.png -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/Training/Images/002502.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/Training/Images/002502.png -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/Training/Images/002532.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/Training/Images/002532.png -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/Training/Images/002649.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/Training/Images/002649.png -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/Training/Images/003346.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/Training/Images/003346.png -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/Training/Images/003960.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/Training/Images/003960.png -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/Training/Images/004468.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/Training/Images/004468.png -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/Training/Images/004513.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/Training/Images/004513.png -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/Training/Images/004549.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/Training/Images/004549.png -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/Training/Images/005173.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/Training/Images/005173.png -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/Training/Images/005279.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/Training/Images/005279.png -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/Training/Images/0167.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/Training/Images/0167.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/Training/Images/0210.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/Training/Images/0210.png -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/Training/Images/0318.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/Training/Images/0318.png -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/Training/Images/0360.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/Training/Images/0360.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/Training/Images/0380.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/Training/Images/0380.png -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/Training/Images/0393.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/Training/Images/0393.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/Training/Images/0443.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/Training/Images/0443.png -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/Training/Images/051226_115142__I2E0348.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/Training/Images/051226_115142__I2E0348.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/Training/Images/051227_072030__I2E0403.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/Training/Images/051227_072030__I2E0403.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/Training/Images/0731.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/Training/Images/0731.png -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/Training/Images/0811.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/Training/Images/0811.png -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/Training/Images/0817.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/Training/Images/0817.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/Training/Images/0907.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/Training/Images/0907.png -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/Training/Images/0966.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/Training/Images/0966.png -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/Training/Images/1009.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/Training/Images/1009.png -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/Training/Images/101_0117.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/Training/Images/101_0117.png -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/Training/Images/101_0154.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/Training/Images/101_0154.png -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/Training/Images/carsgraz_117.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/Training/Images/carsgraz_117.png -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/Training/Images/carsgraz_235.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/Training/Images/carsgraz_235.png -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/Training/Images/carsgraz_271.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/Training/Images/carsgraz_271.png -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/Training/Images/crop001127.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/Training/Images/crop001127.png -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/Training/Images/hometeleportcomflyhearttommybikeflathead.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/Training/Images/hometeleportcomflyhearttommybikeflathead.png -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/Training/Images/mishappaimagepbasecomu38mardolilarge32056012pedestriancrossing.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/Training/Images/mishappaimagepbasecomu38mardolilarge32056012pedestriancrossing.png -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/Training/Images/person_085.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/Training/Images/person_085.png -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/Training/Images/person_086.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/Training/Images/person_086.png -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/Training/Images/person_096.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/Training/Images/person_096.png -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/Training/Images/person_150.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/Training/Images/person_150.png -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/Training/Images/person_186.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/Training/Images/person_186.png -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/Training/Images/person_191.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/Training/Images/person_191.png -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/Training/Images/person_203.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/Training/Images/person_203.png -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/Training/Images/person_395.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/Training/Images/person_395.png -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/Training/Images/person_and_bike_070.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/Training/Images/person_and_bike_070.png -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/Training/Images/structGT.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/Training/Images/structGT.mat -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/Training/Images/wwwmopartsorgmopartscarshow20033imgdemon722.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/Training/Images/wwwmopartsorgmopartscarshow20033imgdemon722.png -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/Training/Images/wwwocarccaEOCEventsimagesHumanRAdd4Marks4x4VincesMotorbikeJuly04710x532.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/Training/Images/wwwocarccaEOCEventsimagesHumanRAdd4Marks4x4VincesMotorbikeJuly04710x532.png -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/computeArea.m: -------------------------------------------------------------------------------- 1 | function areaBB = computeArea(bb) 2 | %computes area of the bb=[xmin ymin xmax ymax] 3 | 4 | if ((bb(1) > bb(3)) || (bb(2) > bb(4))) 5 | areaBB = 0; 6 | else 7 | areaBB = (bb(3) - bb(1) + 1) * (bb(4) - bb(2) + 1); 8 | end -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/computeIntegralImage.m: -------------------------------------------------------------------------------- 1 | function integralImage = computeIntegralImage(table) 2 | 3 | integralImage = cumsum(table,1); integralImage = cumsum(integralImage,2); 4 | [height width] = size(table); 5 | %set the first row and the first column 0 in the integral image 6 | integralImage =[zeros(height,1) integralImage]; 7 | integralImage=[zeros(1,width+1); integralImage]; 8 | -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/computeIntegralImageScores.m: -------------------------------------------------------------------------------- 1 | function score = computeIntegralImageScores(integralImage,windows) 2 | 3 | windows = round(windows); 4 | windows(windows == 0) = 1; 5 | %windows = [xmin ymin xmax ymax] 6 | %computes the score of the windows wrt the integralImage 7 | height = size(integralImage,1); 8 | index1 = height*windows(:,3) + (windows(:,4) + 1); 9 | index2 = height*(windows(:,1) - 1) + windows(:,2); 10 | index3 = height*(windows(:,1) - 1) + (windows(:,4) + 1); 11 | index4 = height*windows(:,3) + windows(:,2); 12 | score = integralImage(index1) + integralImage(index2) - integralImage(index3) - integralImage(index4); -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/computeIntersectionArea.m: -------------------------------------------------------------------------------- 1 | function areaIntersection = computeIntersectionArea(bb1,bb2) 2 | %compute intersection anrea of bb1 and bb2 3 | %bb1 and bb2 - bounding boxes 4 | %bbi = [xmin ymin xmax ymax] for i=1,2 5 | 6 | xmin = max(bb1(1),bb2(1)); 7 | xmax = min(bb1(3),bb2(3)); 8 | ymin = max(bb1(2),bb2(2)); 9 | ymax = min(bb1(4),bb2(4)); 10 | 11 | areaIntersection = computeArea([xmin ymin xmax ymax]); 12 | 13 | end -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/computeObjectnessHeatMap.m: -------------------------------------------------------------------------------- 1 | function objHeatMap = computeObjectnessHeatMap(img,windows) 2 | 3 | %compute the objectness heat map for an image 4 | %INPUT: 5 | %img - input image 6 | %windows - objectness windows (computed using function runObjectness.m) 7 | 8 | map = zeros(size(img,1),size(img,2)); 9 | 10 | for idx = 1:size(windows,1) 11 | xmin = uint16(round(windows(idx,1))); 12 | ymin = uint16(round(windows(idx,2))); 13 | xmax = uint16(round(windows(idx,3))); 14 | ymax = uint16(round(windows(idx,4))); 15 | score = windows(idx,5); 16 | maskBox = zeros(size(img,1), size(img,2)); 17 | maskBox(ymin:ymax,xmin:xmax) = score; 18 | map = map + maskBox; 19 | end 20 | 21 | gray = mat2gray(map); 22 | X = gray2ind(gray,256); 23 | objHeatMap = ind2rgb(X,jet(256)); 24 | %figure; 25 | %subplot(2,1,1),imshow(img),title('Input image'); 26 | %subplot(2,1,2),imshow(objHeatMap);title('Objectness heat map'); 27 | -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/computePascalScore.m: -------------------------------------------------------------------------------- 1 | function pascalScore = computePascalScore(bb1,bb2) 2 | %compute the Pascal score of the bb1, bb2 (intersection/union) 3 | 4 | intersectionArea = computeIntersectionArea(bb1,bb2); 5 | pascalScore = intersectionArea/(computeArea(bb1)+computeArea(bb2)-intersectionArea); 6 | return 7 | -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/computeQuantMatrix.m: -------------------------------------------------------------------------------- 1 | function Q = computeQuantMatrix(imgLAB,bins) 2 | %compute the quantization matrix based on the 3-dimensional matrix imgLAB 3 | 4 | if length(bins) ~= 3 5 | error('Need 3 bins for quantization'); 6 | end 7 | 8 | L = imgLAB(:,:,1); 9 | a = imgLAB(:,:,2); 10 | b = imgLAB(:,:,3); 11 | 12 | ll = min(floor(L/(100/bins(1))) + 1,bins(1)); 13 | aa = min(floor((a+120)/(240/bins(2))) + 1,bins(2)); 14 | bb = min(floor((b+120)/(240/bins(3))) + 1,bins(3)); 15 | 16 | Q = (ll-1)* bins(2)*bins(3) + (aa - 1)*bins(3) + bb; -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/demo.m: -------------------------------------------------------------------------------- 1 | imgExample = imread('002053.jpg'); 2 | boxes = runObjectness(imgExample,10); 3 | figure,imshow(imgExample),drawBoxes(boxes); -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/drawBoxes.m: -------------------------------------------------------------------------------- 1 | function drawBoxes(boxes,base_color,linewidth) 2 | % boxes=[xmin ymin xmax ymax scoreObjectness] 3 | 4 | if nargin < 3 5 | linewidth = 3; 6 | end 7 | 8 | if nargin < 2 9 | base_color = [1 0 0];%red 10 | end 11 | 12 | boxes = sortrows(boxes,5); 13 | 14 | maxscore = max(boxes(:,5)); 15 | for idx = 1:size(boxes,1) 16 | xmin = boxes(idx,1); 17 | ymin = boxes(idx,2); 18 | xmax = boxes(idx,3); 19 | ymax = boxes(idx,4); 20 | score = boxes(idx,5); 21 | %score = min(score*5,1); 22 | 23 | color = base_color*score/maxscore; 24 | 25 | %draw left line 26 | line([xmin xmin],[ymin ymax],'Color',color,'Linewidth',linewidth); 27 | 28 | %draw right line 29 | line([xmax xmax],[ymin ymax],'Color',color,'Linewidth',linewidth); 30 | 31 | %draw top line 32 | line([xmin xmax],[ymin ymin],'Color',color,'Linewidth',linewidth); 33 | 34 | %draw bottom line 35 | line([xmin xmax],[ymax ymax],'Color',color,'Linewidth',linewidth); 36 | end 37 | -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/gray2rgb.m: -------------------------------------------------------------------------------- 1 | function I = gray2rgb(I) 2 | 3 | % converts graylevel image I to identical rgb image 4 | % (useful for compatibility with certain algorithms 5 | % which expect 3 color planes) 6 | % 7 | % Do nothing if image is already rgb 8 | % 9 | 10 | if size(I,3) == 1 11 | I(:,:,3) = I; 12 | I(:,:,2) = I(:,:,3); 13 | end 14 | -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_000032.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_000032.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_000033.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_000033.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_000039.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_000039.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_000042.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_000042.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_000061.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_000061.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_000063.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_000063.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_000068.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_000068.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_000121.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_000121.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_000123.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_000123.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_000129.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_000129.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_000170.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_000170.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_000175.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_000175.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_000187.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_000187.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_000241.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_000241.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_000243.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_000243.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_000250.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_000250.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_000256.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_000256.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_000323.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_000323.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_000332.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_000332.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_000333.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_000333.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_000346.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_000346.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_000363.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_000363.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_000364.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_000364.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_000392.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_000392.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_000452.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_000452.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_000464.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_000464.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_000480.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_000480.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_000491.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_000491.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_000504.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_000504.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_000515.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_000515.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_000528.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_000528.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_000529.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_000529.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_000549.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_000549.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_000559.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_000559.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_000572.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_000572.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_000584.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_000584.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_000629.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_000629.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_000636.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_000636.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_000645.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_000645.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_000648.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_000648.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_000661.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_000661.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_000663.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_000663.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_000676.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_000676.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_000713.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_000713.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_000720.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_000720.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_000727.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_000727.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_000733.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_000733.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_000738.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_000738.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_000762.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_000762.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_000768.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_000768.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_000783.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_000783.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_000793.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_000793.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_000799.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_000799.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_000804.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_000804.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_000822.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_000822.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_000830.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_000830.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_000836.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_000836.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_000837.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_000837.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_000847.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_000847.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_000862.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_000862.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_000876.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_000876.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_000904.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_000904.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_000925.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_000925.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_000999.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_000999.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_001027.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_001027.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_001073.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_001073.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_001149.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_001149.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_001154.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_001154.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_001175.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_001175.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_001185.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_001185.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_001225.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_001225.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_001239.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_001239.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_001284.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_001284.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_001288.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_001288.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_001289.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_001289.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_001299.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_001299.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_001311.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_001311.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_001321.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_001321.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_001340.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_001340.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_001377.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_001377.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_001397.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_001397.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_001408.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_001408.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_001416.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_001416.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_001420.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_001420.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_001423.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_001423.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_001430.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_001430.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_001439.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_001439.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_001457.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_001457.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_001458.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_001458.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_001487.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_001487.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_001526.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_001526.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_001568.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_001568.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_001585.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_001585.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_001586.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_001586.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_001587.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_001587.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_001594.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_001594.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_001595.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_001595.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_001602.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_001602.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_001609.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_001609.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_001630.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_001630.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_001677.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_001677.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_001678.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_001678.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_001698.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_001698.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_001704.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_001704.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_001709.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_001709.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_001717.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_001717.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_001724.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_001724.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_001733.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_001733.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_001761.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_001761.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_001763.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_001763.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_001764.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_001764.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_001774.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_001774.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_001825.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_001825.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_001834.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_001834.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_001857.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_001857.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_001872.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_001872.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_001884.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_001884.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_001901.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_001901.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_001917.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_001917.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_001955.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_001955.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/images_objectness/2007_001960.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/images_objectness/2007_001960.jpg -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/integralHistSuperpixels.m: -------------------------------------------------------------------------------- 1 | function integralHist = integralHistSuperpixels(N) 2 | %comment to be written 3 | 4 | N = int16(N); 5 | total_segms = max(max(N)); 6 | [height width] = size(N); 7 | 8 | integralHist = zeros(height+1,width+1,total_segms); 9 | 10 | for sid = 1:total_segms 11 | 12 | superpixelMap = not(N - sid); 13 | integralHist(:,:,sid) = computeIntegralImage(superpixelMap); 14 | end 15 | 16 | 17 | end -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/nms_pascal.m: -------------------------------------------------------------------------------- 1 | function top = nms_pascal(boxes, overlap, maxWindows) 2 | 3 | % top = nms_pascal(boxes, overlap, maxWindows) 4 | % Non-maximum suppression. 5 | % Greedily select high-scoring detections and skip detections 6 | % that are significantly covered by a previously selected detection. 7 | 8 | if nargin < 3 9 | maxWindows = 1000; 10 | end 11 | 12 | if isempty(boxes) 13 | top = []; 14 | else 15 | %tic 16 | x1 = boxes(:,1); 17 | y1 = boxes(:,2); 18 | x2 = boxes(:,3); 19 | y2 = boxes(:,4); 20 | s = boxes(:,5); 21 | area = (x2-x1+1) .* (y2-y1+1); 22 | 23 | %toc 24 | [~, I] = sort(s,'descend'); 25 | [pick, ~]= NMS_sampling(area(I),overlap,x1(I),y1(I),x2(I),y2(I),maxWindows); 26 | pick = int32(pick) + 1; 27 | pick(pick == 0) = []; 28 | top = boxes(I(pick),:); 29 | end 30 | -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/numerizeLabels.m: -------------------------------------------------------------------------------- 1 | function N = numerizeLabels(S) 2 | 3 | % converts the segmentation image S from true-color 4 | % to ordered integer labels 5 | % 6 | 7 | N = zeros(size(S,1),size(S,2),'uint16'); 8 | col2n = zeros(256,256,256); 9 | totcol = 0; 10 | for x = 1:size(S,2) 11 | for y = 1:size(S,1) 12 | p = reshape(S(y,x,:),1,3)+1; 13 | cix = col2n(p(1),p(2),p(3)); 14 | if cix > 0 15 | N(y,x) = cix; 16 | else 17 | totcol = totcol+1; 18 | col2n(p(1),p(2),p(3)) = totcol; 19 | N(y,x) = totcol; 20 | end 21 | end 22 | end 23 | -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/objectness_pascal.m: -------------------------------------------------------------------------------- 1 | %LMDB_FILE = '/imagenetdb3/olga/data/segm_lmdb/pascal_2012tv_SBDtv.txt'; 2 | LMDB_FILE = '/imagenetdb3/abearman/data/pascal-context-59/train.txt'; 3 | DATA_PATH = '/imagenetdb3/olga/data/VOCdevkit/VOC2012/JPEGImages/'; 4 | OUT_PATH = '/imagenetdb3/abearman/data/pascal-objectness/'; 5 | 6 | fid = fopen(LMDB_FILE); 7 | img_name = fgetl(fid); 8 | i = 0; 9 | while ischar(img_name) 10 | if ~exist([OUT_PATH img_name '.png']) 11 | img_name 12 | img = imread([DATA_PATH img_name '.jpg']); 13 | windows = runObjectness(img, 1000); 14 | objHeatMap = computeObjectnessHeatMap(img,windows); 15 | img_path = [OUT_PATH img_name '.png']; 16 | imwrite(objHeatMap, img_path) 17 | else 18 | [img_name 'already exists'] 19 | end 20 | img_name = fgetl(fid); 21 | i 22 | i = i + 1; 23 | end 24 | fclose(fid); 25 | 26 | -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/output.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/output.mat -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/pff_segment/Makefile: -------------------------------------------------------------------------------- 1 | INCDIR = -I. 2 | DBG = -g 3 | OPT = -O3 4 | CPP = g++ 5 | CFLAGS = $(DBG) $(OPT) $(INCDIR) 6 | LINK = -lm 7 | 8 | .cpp.o: 9 | $(CPP) $(CFLAGS) -c $< -o $@ 10 | 11 | all: segment 12 | 13 | segment: segment.cpp segment-image.h segment-graph.h disjoint-set.h 14 | $(CPP) $(CFLAGS) -o segment segment.cpp $(LINK) 15 | 16 | clean: 17 | /bin/rm -f segment *.o 18 | 19 | clean-all: clean 20 | /bin/rm -f *~ 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/pff_segment/SegmentToLabels.m: -------------------------------------------------------------------------------- 1 | function [ labels ] = SegmentToLabels( segment ) 2 | %SEGMENTTOLABELS Convert output so labels start from 1 and are consecutive 3 | 4 | values = unique(segment); 5 | labels = zeros(size(segment)); 6 | for i = 1:length(values) 7 | labels(segment==values(i)) = i; 8 | end -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/pff_segment/output.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/pff_segment/output.mat -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/pff_segment/segment: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/pff_segment/segment -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/pff_segment/segmentmex.m: -------------------------------------------------------------------------------- 1 | function varargout = segmentmex(varargin) 2 | % [LABEL_IMAGE,N] = SEGMENTMEX(IMG,SIGMA,K,MIN) 3 | % 4 | % Inputs: 5 | % - IMG: the input image (uint8 format). 6 | % - SIGMA, K, MIN: parameters of the algorithm (cf README) 7 | % 8 | % Output: 9 | % - LABEL_IMAGE has the same size as IMG and contain a uint32 superpixel id for each pixel (not continuous and not starting at 1. cf README) 10 | % - N the number of superpixels 11 | % 12 | 13 | ext_source = '.cpp'; 14 | ext_mex = mexext; 15 | funcName = mfilename; 16 | fileName = mfilename('fullpath'); 17 | sourceName = [ fileName ext_source ]; 18 | mexName = [ fileName '.' ext_mex ]; 19 | fprintf('compiling %s\n',mexName); 20 | mex(sourceName,'-output',mexName); 21 | varargout=cell(nargout,1); 22 | [varargout{:}] = feval(funcName,varargin{:}); 23 | -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/pff_segment/segmentmex.mexa64: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/pff_segment/segmentmex.mexa64 -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/retrieveCoordinates.m: -------------------------------------------------------------------------------- 1 | function [x1,y1,x2,y2] = retrieveCoordinates(index,scale) 2 | % compute coordinates [x1,y1,x2,y2] from an index which represent the a 3 | % window in the scale^4 space of all the windows 4 | 5 | image_area = scale*scale; 6 | index1 = mod(index, image_area); 7 | index2 = floor(index/image_area); 8 | 9 | x1 = mod(index1, scale) + 1; 10 | y1 = floor(index1/scale) + 1; 11 | 12 | x2 = mod(index2, scale) + 1; 13 | y2 = floor(index2/scale) + 1; 14 | 15 | return 16 | 17 | -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/scoreSampling.m: -------------------------------------------------------------------------------- 1 | function index = scoreSampling(score,numberSamples,optionReplacement) 2 | 3 | % draw numberSamples from score proportional with the scores ; 4 | % sampling with replacement (optionReplacement=1) or without replacement (optionReplacement=0); 5 | % put the resulting indices in index (1 to length(score)); 6 | 7 | if nargin < 3 8 | optionReplacement = 1; 9 | end 10 | 11 | index = scoreSamplingMex(score,numberSamples,optionReplacement); 12 | 13 | end -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/segmentArea.m: -------------------------------------------------------------------------------- 1 | function segms = segmentArea(N) 2 | 3 | %coords 4 | tot_segms = max(max(N)); 5 | for sid = 1:tot_segms 6 | [r c] = find(N==sid); 7 | segms(sid).coords = uint16([c'; r']); 8 | end 9 | 10 | %area 11 | for sid = 1:tot_segms 12 | segms(sid).area = length(segms(sid).coords); 13 | end 14 | 15 | end -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/startup.m: -------------------------------------------------------------------------------- 1 | addpath([pwd '/']); 2 | addpath([pwd '/MEX/']); 3 | display('Loading the default parameters ...'); 4 | params = defaultParams([pwd '/']); -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/tmpdir/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/objectness-release-v2.2/tmpdir/.DS_Store -------------------------------------------------------------------------------- /caffe/objectness-release-v2.2/updatePath.m: -------------------------------------------------------------------------------- 1 | function params = updatePath(dirRoot,params) 2 | 3 | if nargin < 1 4 | dirRoot = pwd; 5 | end 6 | 7 | if nargin < 2 8 | params = defaultParams(dirRoot); 9 | end 10 | 11 | 12 | params.trainingImages = [dirRoot '/Training/Images/']; 13 | params.trainingExamples = [dirRoot '/Training/Images/Examples/']; 14 | params.data = [dirRoot '/Data/']; 15 | params.yourData = [dirRoot '/Data/yourData/']; 16 | params.tempdir = [dirRoot '/tmpdir/']; 17 | params.SS.soft_dir =[dirRoot '/segment/']; -------------------------------------------------------------------------------- /caffe/src/.svn/all-wcprops: -------------------------------------------------------------------------------- 1 | K 25 2 | svn:wc:ra_dav:version-url 3 | V 48 4 | /longjon/caffe/!svn/ver/3162/branches/future/src 5 | END 6 | -------------------------------------------------------------------------------- /caffe/src/.svn/entries: -------------------------------------------------------------------------------- 1 | 10 2 | 3 | dir 4 | 3639 5 | https://github.com/longjon/caffe/branches/future/src 6 | https://github.com/longjon/caffe 7 | 8 | 9 | 10 | 2015-03-10T02:04:55.000000Z 11 | 3162 12 | evan.shelhamer 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 1e5fafd2-bfcf-ec08-a984-ce57b7db7bff 28 | 29 | caffe 30 | dir 31 | 32 | gtest 33 | dir 34 | 35 | -------------------------------------------------------------------------------- /caffe/src/caffe/.svn/text-base/internal_thread.cpp.svn-base: -------------------------------------------------------------------------------- 1 | #include 2 | #include "caffe/internal_thread.hpp" 3 | 4 | namespace caffe { 5 | 6 | InternalThread::~InternalThread() { 7 | WaitForInternalThreadToExit(); 8 | } 9 | 10 | bool InternalThread::is_started() const { 11 | return thread_.get() != NULL && thread_->joinable(); 12 | } 13 | 14 | 15 | bool InternalThread::StartInternalThread() { 16 | if (!WaitForInternalThreadToExit()) { 17 | return false; 18 | } 19 | try { 20 | thread_.reset( 21 | new boost::thread(&InternalThread::InternalThreadEntry, this)); 22 | } catch (...) { 23 | return false; 24 | } 25 | return true; 26 | } 27 | 28 | /** Will not return until the internal thread has exited. */ 29 | bool InternalThread::WaitForInternalThreadToExit() { 30 | if (is_started()) { 31 | try { 32 | thread_->join(); 33 | } catch (...) { 34 | return false; 35 | } 36 | } 37 | return true; 38 | } 39 | 40 | } // namespace caffe 41 | -------------------------------------------------------------------------------- /caffe/src/caffe/internal_thread.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include "caffe/internal_thread.hpp" 3 | 4 | namespace caffe { 5 | 6 | InternalThread::~InternalThread() { 7 | WaitForInternalThreadToExit(); 8 | } 9 | 10 | bool InternalThread::is_started() const { 11 | return thread_.get() != NULL && thread_->joinable(); 12 | } 13 | 14 | 15 | bool InternalThread::StartInternalThread() { 16 | if (!WaitForInternalThreadToExit()) { 17 | return false; 18 | } 19 | try { 20 | thread_.reset( 21 | new boost::thread(&InternalThread::InternalThreadEntry, this)); 22 | } catch (...) { 23 | return false; 24 | } 25 | return true; 26 | } 27 | 28 | /** Will not return until the internal thread has exited. */ 29 | bool InternalThread::WaitForInternalThreadToExit() { 30 | if (is_started()) { 31 | try { 32 | thread_->join(); 33 | } catch (...) { 34 | return false; 35 | } 36 | } 37 | return true; 38 | } 39 | 40 | } // namespace caffe 41 | -------------------------------------------------------------------------------- /caffe/src/caffe/layers/.svn/text-base/absval_layer.cu.svn-base: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | #include "caffe/layer.hpp" 4 | #include "caffe/util/math_functions.hpp" 5 | #include "caffe/vision_layers.hpp" 6 | 7 | namespace caffe { 8 | 9 | template 10 | void AbsValLayer::Forward_gpu( 11 | const vector*>& bottom, const vector*>& top) { 12 | const int count = top[0]->count(); 13 | Dtype* top_data = top[0]->mutable_gpu_data(); 14 | caffe_gpu_abs(count, bottom[0]->gpu_data(), top_data); 15 | } 16 | 17 | template 18 | void AbsValLayer::Backward_gpu(const vector*>& top, 19 | const vector& propagate_down, const vector*>& bottom) { 20 | const int count = top[0]->count(); 21 | const Dtype* top_data = top[0]->gpu_data(); 22 | const Dtype* top_diff = top[0]->gpu_diff(); 23 | if (propagate_down[0]) { 24 | const Dtype* bottom_data = bottom[0]->gpu_data(); 25 | Dtype* bottom_diff = bottom[0]->mutable_gpu_diff(); 26 | caffe_gpu_sign(count, bottom_data, bottom_diff); 27 | caffe_gpu_mul(count, bottom_diff, top_diff, bottom_diff); 28 | } 29 | } 30 | 31 | INSTANTIATE_LAYER_GPU_FUNCS(AbsValLayer); 32 | 33 | 34 | } // namespace caffe 35 | -------------------------------------------------------------------------------- /caffe/src/caffe/layers/.svn/text-base/base_data_layer.cu.svn-base: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | #include "caffe/data_layers.hpp" 4 | 5 | namespace caffe { 6 | 7 | template 8 | void BasePrefetchingDataLayer::Forward_gpu( 9 | const vector*>& bottom, const vector*>& top) { 10 | // First, join the thread 11 | JoinPrefetchThread(); 12 | // Reshape to loaded data. 13 | top[0]->Reshape(this->prefetch_data_.num(), this->prefetch_data_.channels(), 14 | this->prefetch_data_.height(), this->prefetch_data_.width()); 15 | // Copy the data 16 | caffe_copy(prefetch_data_.count(), prefetch_data_.cpu_data(), 17 | top[0]->mutable_gpu_data()); 18 | if (this->output_labels_) { 19 | caffe_copy(prefetch_label_.count(), prefetch_label_.cpu_data(), 20 | top[1]->mutable_gpu_data()); 21 | } 22 | // Start a new prefetch thread 23 | CreatePrefetchThread(); 24 | } 25 | 26 | INSTANTIATE_LAYER_GPU_FORWARD(BasePrefetchingDataLayer); 27 | 28 | } // namespace caffe 29 | -------------------------------------------------------------------------------- /caffe/src/caffe/layers/.svn/text-base/flatten_layer.cpp.svn-base: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | #include "caffe/layer.hpp" 4 | #include "caffe/util/math_functions.hpp" 5 | #include "caffe/vision_layers.hpp" 6 | 7 | namespace caffe { 8 | 9 | template 10 | void FlattenLayer::Reshape(const vector*>& bottom, 11 | const vector*>& top) { 12 | vector top_shape(2); 13 | top_shape[0] = bottom[0]->num(); 14 | top_shape[1] = bottom[0]->count() / bottom[0]->num(); 15 | top[0]->Reshape(top_shape); 16 | CHECK_EQ(top[0]->count(), bottom[0]->count()); 17 | } 18 | 19 | template 20 | void FlattenLayer::Forward_cpu(const vector*>& bottom, 21 | const vector*>& top) { 22 | top[0]->ShareData(*bottom[0]); 23 | } 24 | 25 | template 26 | void FlattenLayer::Backward_cpu(const vector*>& top, 27 | const vector& propagate_down, const vector*>& bottom) { 28 | bottom[0]->ShareDiff(*top[0]); 29 | } 30 | 31 | INSTANTIATE_CLASS(FlattenLayer); 32 | REGISTER_LAYER_CLASS(Flatten); 33 | 34 | } // namespace caffe 35 | -------------------------------------------------------------------------------- /caffe/src/caffe/layers/.svn/text-base/loss_layer.cpp.svn-base: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | #include 5 | 6 | #include "caffe/layer.hpp" 7 | #include "caffe/util/io.hpp" 8 | #include "caffe/util/math_functions.hpp" 9 | #include "caffe/vision_layers.hpp" 10 | 11 | namespace caffe { 12 | 13 | template 14 | void LossLayer::LayerSetUp( 15 | const vector*>& bottom, const vector*>& top) { 16 | // LossLayers have a non-zero (1) loss by default. 17 | if (this->layer_param_.loss_weight_size() == 0) { 18 | this->layer_param_.add_loss_weight(Dtype(1)); 19 | } 20 | } 21 | 22 | template 23 | void LossLayer::Reshape( 24 | const vector*>& bottom, const vector*>& top) { 25 | CHECK_EQ(bottom[0]->num(), bottom[1]->num()) 26 | << "The data and label should have the same number."; 27 | vector loss_shape(0); // Loss layers output a scalar; 0 axes. 28 | top[0]->Reshape(loss_shape); 29 | } 30 | 31 | INSTANTIATE_CLASS(LossLayer); 32 | 33 | } // namespace caffe 34 | -------------------------------------------------------------------------------- /caffe/src/caffe/layers/.svn/text-base/neuron_layer.cpp.svn-base: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | #include "caffe/layer.hpp" 4 | #include "caffe/vision_layers.hpp" 5 | 6 | namespace caffe { 7 | 8 | template 9 | void NeuronLayer::Reshape(const vector*>& bottom, 10 | const vector*>& top) { 11 | top[0]->ReshapeLike(*bottom[0]); 12 | } 13 | 14 | INSTANTIATE_CLASS(NeuronLayer); 15 | 16 | } // namespace caffe 17 | -------------------------------------------------------------------------------- /caffe/src/caffe/layers/.svn/text-base/silence_layer.cpp.svn-base: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | #include "caffe/common_layers.hpp" 4 | #include "caffe/layer.hpp" 5 | #include "caffe/util/math_functions.hpp" 6 | 7 | namespace caffe { 8 | 9 | template 10 | void SilenceLayer::Backward_cpu(const vector*>& top, 11 | const vector& propagate_down, const vector*>& bottom) { 12 | for (int i = 0; i < bottom.size(); ++i) { 13 | if (propagate_down[i]) { 14 | caffe_set(bottom[i]->count(), Dtype(0), 15 | bottom[i]->mutable_cpu_data()); 16 | } 17 | } 18 | } 19 | 20 | #ifdef CPU_ONLY 21 | STUB_GPU(SilenceLayer); 22 | #endif 23 | 24 | INSTANTIATE_CLASS(SilenceLayer); 25 | REGISTER_LAYER_CLASS(Silence); 26 | 27 | } // namespace caffe 28 | -------------------------------------------------------------------------------- /caffe/src/caffe/layers/.svn/text-base/silence_layer.cu.svn-base: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | #include "caffe/common_layers.hpp" 4 | #include "caffe/layer.hpp" 5 | #include "caffe/util/math_functions.hpp" 6 | 7 | namespace caffe { 8 | 9 | template 10 | void SilenceLayer::Forward_gpu(const vector*>& bottom, 11 | const vector*>& top) { 12 | // Do nothing. 13 | } 14 | 15 | template 16 | void SilenceLayer::Backward_gpu(const vector*>& top, 17 | const vector& propagate_down, const vector*>& bottom) { 18 | for (int i = 0; i < bottom.size(); ++i) { 19 | if (propagate_down[i]) { 20 | caffe_gpu_set(bottom[i]->count(), Dtype(0), 21 | bottom[i]->mutable_gpu_data()); 22 | } 23 | } 24 | } 25 | 26 | INSTANTIATE_LAYER_GPU_FUNCS(SilenceLayer); 27 | 28 | } // namespace caffe 29 | -------------------------------------------------------------------------------- /caffe/src/caffe/layers/.svn/text-base/split_layer.cu.svn-base: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | #include "caffe/layer.hpp" 4 | #include "caffe/util/math_functions.hpp" 5 | #include "caffe/vision_layers.hpp" 6 | 7 | namespace caffe { 8 | 9 | template 10 | void SplitLayer::Forward_gpu(const vector*>& bottom, 11 | const vector*>& top) { 12 | for (int i = 0; i < top.size(); ++i) { 13 | top[i]->ShareData(*bottom[0]); 14 | } 15 | } 16 | 17 | template 18 | void SplitLayer::Backward_gpu(const vector*>& top, 19 | const vector& propagate_down, const vector*>& bottom) { 20 | if (!propagate_down[0]) { return; } 21 | if (top.size() == 1) { 22 | caffe_copy(count_, top[0]->gpu_diff(), bottom[0]->mutable_gpu_diff()); 23 | return; 24 | } 25 | caffe_gpu_add(count_, top[0]->gpu_diff(), top[1]->gpu_diff(), 26 | bottom[0]->mutable_gpu_diff()); 27 | // Add remaining top blob diffs. 28 | for (int i = 2; i < top.size(); ++i) { 29 | const Dtype* top_diff = top[i]->gpu_diff(); 30 | Dtype* bottom_diff = bottom[0]->mutable_gpu_diff(); 31 | caffe_gpu_axpy(count_, Dtype(1.), top_diff, bottom_diff); 32 | } 33 | } 34 | 35 | 36 | INSTANTIATE_LAYER_GPU_FUNCS(SplitLayer); 37 | 38 | } // namespace caffe 39 | -------------------------------------------------------------------------------- /caffe/src/caffe/layers/.svn/text-base/threshold_layer.cpp.svn-base: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | #include "caffe/layer.hpp" 4 | #include "caffe/vision_layers.hpp" 5 | 6 | 7 | namespace caffe { 8 | 9 | template 10 | void ThresholdLayer::LayerSetUp(const vector*>& bottom, 11 | const vector*>& top) { 12 | NeuronLayer::LayerSetUp(bottom, top); 13 | threshold_ = this->layer_param_.threshold_param().threshold(); 14 | } 15 | 16 | template 17 | void ThresholdLayer::Forward_cpu(const vector*>& bottom, 18 | const vector*>& top) { 19 | const Dtype* bottom_data = bottom[0]->cpu_data(); 20 | Dtype* top_data = top[0]->mutable_cpu_data(); 21 | const int count = bottom[0]->count(); 22 | for (int i = 0; i < count; ++i) { 23 | top_data[i] = (bottom_data[i] > threshold_) ? Dtype(1) : Dtype(0); 24 | } 25 | } 26 | 27 | #ifdef CPU_ONLY 28 | STUB_GPU_FORWARD(ThresholdLayer, Forward); 29 | #endif 30 | 31 | INSTANTIATE_CLASS(ThresholdLayer); 32 | REGISTER_LAYER_CLASS(Threshold); 33 | 34 | } // namespace caffe 35 | -------------------------------------------------------------------------------- /caffe/src/caffe/layers/.svn/text-base/threshold_layer.cu.svn-base: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | #include "caffe/layer.hpp" 5 | #include "caffe/vision_layers.hpp" 6 | 7 | namespace caffe { 8 | 9 | template 10 | __global__ void ThresholdForward(const int n, const Dtype threshold, 11 | const Dtype* in, Dtype* out) { 12 | CUDA_KERNEL_LOOP(index, n) { 13 | out[index] = in[index] > threshold ? 1 : 0; 14 | } 15 | } 16 | 17 | template 18 | void ThresholdLayer::Forward_gpu(const vector*>& bottom, 19 | const vector*>& top) { 20 | const Dtype* bottom_data = bottom[0]->gpu_data(); 21 | Dtype* top_data = top[0]->mutable_gpu_data(); 22 | const int count = bottom[0]->count(); 23 | // NOLINT_NEXT_LINE(whitespace/operators) 24 | ThresholdForward<<>>( 25 | count, threshold_, bottom_data, top_data); 26 | CUDA_POST_KERNEL_CHECK; 27 | } 28 | 29 | 30 | INSTANTIATE_LAYER_GPU_FORWARD(ThresholdLayer); 31 | 32 | 33 | } // namespace caffe 34 | -------------------------------------------------------------------------------- /caffe/src/caffe/layers/absval_layer.cu: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | #include "caffe/layer.hpp" 4 | #include "caffe/util/math_functions.hpp" 5 | #include "caffe/vision_layers.hpp" 6 | 7 | namespace caffe { 8 | 9 | template 10 | void AbsValLayer::Forward_gpu( 11 | const vector*>& bottom, const vector*>& top) { 12 | const int count = top[0]->count(); 13 | Dtype* top_data = top[0]->mutable_gpu_data(); 14 | caffe_gpu_abs(count, bottom[0]->gpu_data(), top_data); 15 | } 16 | 17 | template 18 | void AbsValLayer::Backward_gpu(const vector*>& top, 19 | const vector& propagate_down, const vector*>& bottom) { 20 | const int count = top[0]->count(); 21 | const Dtype* top_data = top[0]->gpu_data(); 22 | const Dtype* top_diff = top[0]->gpu_diff(); 23 | if (propagate_down[0]) { 24 | const Dtype* bottom_data = bottom[0]->gpu_data(); 25 | Dtype* bottom_diff = bottom[0]->mutable_gpu_diff(); 26 | caffe_gpu_sign(count, bottom_data, bottom_diff); 27 | caffe_gpu_mul(count, bottom_diff, top_diff, bottom_diff); 28 | } 29 | } 30 | 31 | INSTANTIATE_LAYER_GPU_FUNCS(AbsValLayer); 32 | 33 | 34 | } // namespace caffe 35 | -------------------------------------------------------------------------------- /caffe/src/caffe/layers/base_data_layer.cu: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | #include "caffe/data_layers.hpp" 4 | 5 | namespace caffe { 6 | 7 | template 8 | void BasePrefetchingDataLayer::Forward_gpu( 9 | const vector*>& bottom, const vector*>& top) { 10 | // First, join the thread 11 | JoinPrefetchThread(); 12 | // Reshape to loaded data. 13 | top[0]->Reshape(this->prefetch_data_.num(), this->prefetch_data_.channels(), 14 | this->prefetch_data_.height(), this->prefetch_data_.width()); 15 | // Copy the data 16 | caffe_copy(prefetch_data_.count(), prefetch_data_.cpu_data(), 17 | top[0]->mutable_gpu_data()); 18 | if (this->output_labels_) { 19 | caffe_copy(prefetch_label_.count(), prefetch_label_.cpu_data(), 20 | top[1]->mutable_gpu_data()); 21 | } 22 | // Start a new prefetch thread 23 | CreatePrefetchThread(); 24 | } 25 | 26 | INSTANTIATE_LAYER_GPU_FORWARD(BasePrefetchingDataLayer); 27 | 28 | } // namespace caffe 29 | -------------------------------------------------------------------------------- /caffe/src/caffe/layers/flatten_layer.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | #include "caffe/layer.hpp" 4 | #include "caffe/util/math_functions.hpp" 5 | #include "caffe/vision_layers.hpp" 6 | 7 | namespace caffe { 8 | 9 | template 10 | void FlattenLayer::Reshape(const vector*>& bottom, 11 | const vector*>& top) { 12 | vector top_shape(2); 13 | top_shape[0] = bottom[0]->num(); 14 | top_shape[1] = bottom[0]->count() / bottom[0]->num(); 15 | top[0]->Reshape(top_shape); 16 | CHECK_EQ(top[0]->count(), bottom[0]->count()); 17 | } 18 | 19 | template 20 | void FlattenLayer::Forward_cpu(const vector*>& bottom, 21 | const vector*>& top) { 22 | top[0]->ShareData(*bottom[0]); 23 | } 24 | 25 | template 26 | void FlattenLayer::Backward_cpu(const vector*>& top, 27 | const vector& propagate_down, const vector*>& bottom) { 28 | bottom[0]->ShareDiff(*top[0]); 29 | } 30 | 31 | INSTANTIATE_CLASS(FlattenLayer); 32 | REGISTER_LAYER_CLASS(Flatten); 33 | 34 | } // namespace caffe 35 | -------------------------------------------------------------------------------- /caffe/src/caffe/layers/loss_layer.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | #include 5 | 6 | #include "caffe/layer.hpp" 7 | #include "caffe/util/io.hpp" 8 | #include "caffe/util/math_functions.hpp" 9 | #include "caffe/vision_layers.hpp" 10 | 11 | namespace caffe { 12 | 13 | template 14 | void LossLayer::LayerSetUp( 15 | const vector*>& bottom, const vector*>& top) { 16 | // LossLayers have a non-zero (1) loss by default. 17 | if (this->layer_param_.loss_weight_size() == 0) { 18 | this->layer_param_.add_loss_weight(Dtype(1)); 19 | } 20 | } 21 | 22 | template 23 | void LossLayer::Reshape( 24 | const vector*>& bottom, const vector*>& top) { 25 | CHECK_EQ(bottom[0]->num(), bottom[1]->num()) 26 | << "The data and label should have the same number."; 27 | vector loss_shape(0); // Loss layers output a scalar; 0 axes. 28 | top[0]->Reshape(loss_shape); 29 | } 30 | 31 | INSTANTIATE_CLASS(LossLayer); 32 | 33 | } // namespace caffe 34 | -------------------------------------------------------------------------------- /caffe/src/caffe/layers/neuron_layer.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | #include "caffe/layer.hpp" 4 | #include "caffe/vision_layers.hpp" 5 | 6 | namespace caffe { 7 | 8 | template 9 | void NeuronLayer::Reshape(const vector*>& bottom, 10 | const vector*>& top) { 11 | top[0]->ReshapeLike(*bottom[0]); 12 | } 13 | 14 | INSTANTIATE_CLASS(NeuronLayer); 15 | 16 | } // namespace caffe 17 | -------------------------------------------------------------------------------- /caffe/src/caffe/layers/silence_layer.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | #include "caffe/common_layers.hpp" 4 | #include "caffe/layer.hpp" 5 | #include "caffe/util/math_functions.hpp" 6 | 7 | namespace caffe { 8 | 9 | template 10 | void SilenceLayer::Backward_cpu(const vector*>& top, 11 | const vector& propagate_down, const vector*>& bottom) { 12 | for (int i = 0; i < bottom.size(); ++i) { 13 | if (propagate_down[i]) { 14 | caffe_set(bottom[i]->count(), Dtype(0), 15 | bottom[i]->mutable_cpu_data()); 16 | } 17 | } 18 | } 19 | 20 | #ifdef CPU_ONLY 21 | STUB_GPU(SilenceLayer); 22 | #endif 23 | 24 | INSTANTIATE_CLASS(SilenceLayer); 25 | REGISTER_LAYER_CLASS(Silence); 26 | 27 | } // namespace caffe 28 | -------------------------------------------------------------------------------- /caffe/src/caffe/layers/silence_layer.cu: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | #include "caffe/common_layers.hpp" 4 | #include "caffe/layer.hpp" 5 | #include "caffe/util/math_functions.hpp" 6 | 7 | namespace caffe { 8 | 9 | template 10 | void SilenceLayer::Forward_gpu(const vector*>& bottom, 11 | const vector*>& top) { 12 | // Do nothing. 13 | } 14 | 15 | template 16 | void SilenceLayer::Backward_gpu(const vector*>& top, 17 | const vector& propagate_down, const vector*>& bottom) { 18 | for (int i = 0; i < bottom.size(); ++i) { 19 | if (propagate_down[i]) { 20 | caffe_gpu_set(bottom[i]->count(), Dtype(0), 21 | bottom[i]->mutable_gpu_data()); 22 | } 23 | } 24 | } 25 | 26 | INSTANTIATE_LAYER_GPU_FUNCS(SilenceLayer); 27 | 28 | } // namespace caffe 29 | -------------------------------------------------------------------------------- /caffe/src/caffe/layers/split_layer.cu: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | #include "caffe/layer.hpp" 4 | #include "caffe/util/math_functions.hpp" 5 | #include "caffe/vision_layers.hpp" 6 | 7 | namespace caffe { 8 | 9 | template 10 | void SplitLayer::Forward_gpu(const vector*>& bottom, 11 | const vector*>& top) { 12 | for (int i = 0; i < top.size(); ++i) { 13 | top[i]->ShareData(*bottom[0]); 14 | } 15 | } 16 | 17 | template 18 | void SplitLayer::Backward_gpu(const vector*>& top, 19 | const vector& propagate_down, const vector*>& bottom) { 20 | if (!propagate_down[0]) { return; } 21 | if (top.size() == 1) { 22 | caffe_copy(count_, top[0]->gpu_diff(), bottom[0]->mutable_gpu_diff()); 23 | return; 24 | } 25 | caffe_gpu_add(count_, top[0]->gpu_diff(), top[1]->gpu_diff(), 26 | bottom[0]->mutable_gpu_diff()); 27 | // Add remaining top blob diffs. 28 | for (int i = 2; i < top.size(); ++i) { 29 | const Dtype* top_diff = top[i]->gpu_diff(); 30 | Dtype* bottom_diff = bottom[0]->mutable_gpu_diff(); 31 | caffe_gpu_axpy(count_, Dtype(1.), top_diff, bottom_diff); 32 | } 33 | } 34 | 35 | 36 | INSTANTIATE_LAYER_GPU_FUNCS(SplitLayer); 37 | 38 | } // namespace caffe 39 | -------------------------------------------------------------------------------- /caffe/src/caffe/layers/threshold_layer.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | #include "caffe/layer.hpp" 4 | #include "caffe/vision_layers.hpp" 5 | 6 | 7 | namespace caffe { 8 | 9 | template 10 | void ThresholdLayer::LayerSetUp(const vector*>& bottom, 11 | const vector*>& top) { 12 | NeuronLayer::LayerSetUp(bottom, top); 13 | threshold_ = this->layer_param_.threshold_param().threshold(); 14 | } 15 | 16 | template 17 | void ThresholdLayer::Forward_cpu(const vector*>& bottom, 18 | const vector*>& top) { 19 | const Dtype* bottom_data = bottom[0]->cpu_data(); 20 | Dtype* top_data = top[0]->mutable_cpu_data(); 21 | const int count = bottom[0]->count(); 22 | for (int i = 0; i < count; ++i) { 23 | top_data[i] = (bottom_data[i] > threshold_) ? Dtype(1) : Dtype(0); 24 | } 25 | } 26 | 27 | #ifdef CPU_ONLY 28 | STUB_GPU_FORWARD(ThresholdLayer, Forward); 29 | #endif 30 | 31 | INSTANTIATE_CLASS(ThresholdLayer); 32 | REGISTER_LAYER_CLASS(Threshold); 33 | 34 | } // namespace caffe 35 | -------------------------------------------------------------------------------- /caffe/src/caffe/layers/threshold_layer.cu: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | #include "caffe/layer.hpp" 5 | #include "caffe/vision_layers.hpp" 6 | 7 | namespace caffe { 8 | 9 | template 10 | __global__ void ThresholdForward(const int n, const Dtype threshold, 11 | const Dtype* in, Dtype* out) { 12 | CUDA_KERNEL_LOOP(index, n) { 13 | out[index] = in[index] > threshold ? 1 : 0; 14 | } 15 | } 16 | 17 | template 18 | void ThresholdLayer::Forward_gpu(const vector*>& bottom, 19 | const vector*>& top) { 20 | const Dtype* bottom_data = bottom[0]->gpu_data(); 21 | Dtype* top_data = top[0]->mutable_gpu_data(); 22 | const int count = bottom[0]->count(); 23 | // NOLINT_NEXT_LINE(whitespace/operators) 24 | ThresholdForward<<>>( 25 | count, threshold_, bottom_data, top_data); 26 | CUDA_POST_KERNEL_CHECK; 27 | } 28 | 29 | 30 | INSTANTIATE_LAYER_GPU_FORWARD(ThresholdLayer); 31 | 32 | 33 | } // namespace caffe 34 | -------------------------------------------------------------------------------- /caffe/src/caffe/proto/.svn/all-wcprops: -------------------------------------------------------------------------------- 1 | K 25 2 | svn:wc:ra_dav:version-url 3 | V 60 4 | /longjon/caffe/!svn/ver/3162/branches/future/src/caffe/proto 5 | END 6 | caffe.proto 7 | K 25 8 | svn:wc:ra_dav:version-url 9 | V 72 10 | /longjon/caffe/!svn/ver/3162/branches/future/src/caffe/proto/caffe.proto 11 | END 12 | -------------------------------------------------------------------------------- /caffe/src/caffe/proto/.svn/entries: -------------------------------------------------------------------------------- 1 | 10 2 | 3 | dir 4 | 3639 5 | https://github.com/longjon/caffe/branches/future/src/caffe/proto 6 | https://github.com/longjon/caffe 7 | 8 | 9 | 10 | 2015-03-10T02:04:55.000000Z 11 | 3162 12 | evan.shelhamer 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 1e5fafd2-bfcf-ec08-a984-ce57b7db7bff 28 | 29 | caffe.proto 30 | file 31 | 32 | 33 | 34 | 35 | 2015-04-16T16:40:06.726539Z 36 | 03ae4414719684faab01dc4f3b327775 37 | 2015-03-10T02:04:55.000000Z 38 | 3162 39 | evan.shelhamer 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 37629 62 | 63 | -------------------------------------------------------------------------------- /caffe/src/caffe/test/.svn/text-base/test_internal_thread.cpp.svn-base: -------------------------------------------------------------------------------- 1 | #include "glog/logging.h" 2 | #include "gtest/gtest.h" 3 | 4 | #include "caffe/internal_thread.hpp" 5 | 6 | #include "caffe/test/test_caffe_main.hpp" 7 | 8 | namespace caffe { 9 | 10 | 11 | class InternalThreadTest : public ::testing::Test {}; 12 | 13 | TEST_F(InternalThreadTest, TestStartAndExit) { 14 | InternalThread thread; 15 | EXPECT_FALSE(thread.is_started()); 16 | EXPECT_TRUE(thread.StartInternalThread()); 17 | EXPECT_TRUE(thread.is_started()); 18 | EXPECT_TRUE(thread.WaitForInternalThreadToExit()); 19 | EXPECT_FALSE(thread.is_started()); 20 | } 21 | 22 | } // namespace caffe 23 | 24 | -------------------------------------------------------------------------------- /caffe/src/caffe/test/.svn/text-base/test_layer_factory.cpp.svn-base: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | #include "gtest/gtest.h" 5 | 6 | #include "caffe/common.hpp" 7 | #include "caffe/layer.hpp" 8 | #include "caffe/layer_factory.hpp" 9 | 10 | #include "caffe/test/test_caffe_main.hpp" 11 | 12 | namespace caffe { 13 | 14 | template 15 | class LayerFactoryTest : public MultiDeviceTest {}; 16 | 17 | TYPED_TEST_CASE(LayerFactoryTest, TestDtypesAndDevices); 18 | 19 | TYPED_TEST(LayerFactoryTest, TestCreateLayer) { 20 | typedef typename TypeParam::Dtype Dtype; 21 | typename LayerRegistry::CreatorRegistry& registry = 22 | LayerRegistry::Registry(); 23 | shared_ptr > layer; 24 | LayerParameter layer_param; 25 | for (typename LayerRegistry::CreatorRegistry::iterator iter = 26 | registry.begin(); iter != registry.end(); ++iter) { 27 | // Special case: PythonLayer is checked by pytest 28 | if (iter->first == "Python") { continue; } 29 | layer_param.set_type(iter->first); 30 | layer = LayerRegistry::CreateLayer(layer_param); 31 | EXPECT_EQ(iter->first, layer->type()); 32 | } 33 | } 34 | 35 | } // namespace caffe 36 | -------------------------------------------------------------------------------- /caffe/src/caffe/test/.svn/text-base/test_protobuf.cpp.svn-base: -------------------------------------------------------------------------------- 1 | // This is simply a script that tries serializing protocol buffer in text 2 | // format. Nothing special here and no actual code is being tested. 3 | #include 4 | 5 | #include "google/protobuf/text_format.h" 6 | #include "gtest/gtest.h" 7 | 8 | #include "caffe/proto/caffe.pb.h" 9 | 10 | #include "caffe/test/test_caffe_main.hpp" 11 | 12 | namespace caffe { 13 | 14 | class ProtoTest : public ::testing::Test {}; 15 | 16 | TEST_F(ProtoTest, TestSerialization) { 17 | LayerParameter param; 18 | param.set_name("test"); 19 | param.set_type("Test"); 20 | std::cout << "Printing in binary format." << std::endl; 21 | std::cout << param.SerializeAsString() << std::endl; 22 | std::cout << "Printing in text format." << std::endl; 23 | std::string str; 24 | google::protobuf::TextFormat::PrintToString(param, &str); 25 | std::cout << str << std::endl; 26 | EXPECT_TRUE(true); 27 | } 28 | 29 | } // namespace caffe 30 | -------------------------------------------------------------------------------- /caffe/src/caffe/test/test_data/.svn/all-wcprops: -------------------------------------------------------------------------------- 1 | K 25 2 | svn:wc:ra_dav:version-url 3 | V 69 4 | /longjon/caffe/!svn/ver/3030/branches/future/src/caffe/test/test_data 5 | END 6 | sample_data.h5 7 | K 25 8 | svn:wc:ra_dav:version-url 9 | V 84 10 | /longjon/caffe/!svn/ver/2849/branches/future/src/caffe/test/test_data/sample_data.h5 11 | END 12 | generate_sample_data.py 13 | K 25 14 | svn:wc:ra_dav:version-url 15 | V 93 16 | /longjon/caffe/!svn/ver/2849/branches/future/src/caffe/test/test_data/generate_sample_data.py 17 | END 18 | sample_data_2_gzip.h5 19 | K 25 20 | svn:wc:ra_dav:version-url 21 | V 91 22 | /longjon/caffe/!svn/ver/2849/branches/future/src/caffe/test/test_data/sample_data_2_gzip.h5 23 | END 24 | sample_data_list.txt 25 | K 25 26 | svn:wc:ra_dav:version-url 27 | V 90 28 | /longjon/caffe/!svn/ver/2713/branches/future/src/caffe/test/test_data/sample_data_list.txt 29 | END 30 | -------------------------------------------------------------------------------- /caffe/src/caffe/test/test_data/.svn/text-base/sample_data.h5.svn-base: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/src/caffe/test/test_data/.svn/text-base/sample_data.h5.svn-base -------------------------------------------------------------------------------- /caffe/src/caffe/test/test_data/.svn/text-base/sample_data_2_gzip.h5.svn-base: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/src/caffe/test/test_data/.svn/text-base/sample_data_2_gzip.h5.svn-base -------------------------------------------------------------------------------- /caffe/src/caffe/test/test_data/.svn/text-base/sample_data_list.txt.svn-base: -------------------------------------------------------------------------------- 1 | src/caffe/test/test_data/sample_data.h5 2 | src/caffe/test/test_data/sample_data_2_gzip.h5 3 | -------------------------------------------------------------------------------- /caffe/src/caffe/test/test_data/sample_data.h5: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/src/caffe/test/test_data/sample_data.h5 -------------------------------------------------------------------------------- /caffe/src/caffe/test/test_data/sample_data_2_gzip.h5: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/caffe/src/caffe/test/test_data/sample_data_2_gzip.h5 -------------------------------------------------------------------------------- /caffe/src/caffe/test/test_data/sample_data_list.txt: -------------------------------------------------------------------------------- 1 | src/caffe/test/test_data/sample_data.h5 2 | src/caffe/test/test_data/sample_data_2_gzip.h5 3 | -------------------------------------------------------------------------------- /caffe/src/caffe/test/test_internal_thread.cpp: -------------------------------------------------------------------------------- 1 | #include "glog/logging.h" 2 | #include "gtest/gtest.h" 3 | 4 | #include "caffe/internal_thread.hpp" 5 | 6 | #include "caffe/test/test_caffe_main.hpp" 7 | 8 | namespace caffe { 9 | 10 | 11 | class InternalThreadTest : public ::testing::Test {}; 12 | 13 | TEST_F(InternalThreadTest, TestStartAndExit) { 14 | InternalThread thread; 15 | EXPECT_FALSE(thread.is_started()); 16 | EXPECT_TRUE(thread.StartInternalThread()); 17 | EXPECT_TRUE(thread.is_started()); 18 | EXPECT_TRUE(thread.WaitForInternalThreadToExit()); 19 | EXPECT_FALSE(thread.is_started()); 20 | } 21 | 22 | } // namespace caffe 23 | 24 | -------------------------------------------------------------------------------- /caffe/src/caffe/test/test_layer_factory.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | #include "gtest/gtest.h" 5 | 6 | #include "caffe/common.hpp" 7 | #include "caffe/layer.hpp" 8 | #include "caffe/layer_factory.hpp" 9 | 10 | #include "caffe/test/test_caffe_main.hpp" 11 | 12 | namespace caffe { 13 | 14 | template 15 | class LayerFactoryTest : public MultiDeviceTest {}; 16 | 17 | TYPED_TEST_CASE(LayerFactoryTest, TestDtypesAndDevices); 18 | 19 | TYPED_TEST(LayerFactoryTest, TestCreateLayer) { 20 | typedef typename TypeParam::Dtype Dtype; 21 | typename LayerRegistry::CreatorRegistry& registry = 22 | LayerRegistry::Registry(); 23 | shared_ptr > layer; 24 | LayerParameter layer_param; 25 | for (typename LayerRegistry::CreatorRegistry::iterator iter = 26 | registry.begin(); iter != registry.end(); ++iter) { 27 | // Special case: PythonLayer is checked by pytest 28 | if (iter->first == "Python") { continue; } 29 | layer_param.set_type(iter->first); 30 | layer = LayerRegistry::CreateLayer(layer_param); 31 | EXPECT_EQ(iter->first, layer->type()); 32 | } 33 | } 34 | 35 | } // namespace caffe 36 | -------------------------------------------------------------------------------- /caffe/src/caffe/test/test_protobuf.cpp: -------------------------------------------------------------------------------- 1 | // This is simply a script that tries serializing protocol buffer in text 2 | // format. Nothing special here and no actual code is being tested. 3 | #include 4 | 5 | #include "google/protobuf/text_format.h" 6 | #include "gtest/gtest.h" 7 | 8 | #include "caffe/proto/caffe.pb.h" 9 | 10 | #include "caffe/test/test_caffe_main.hpp" 11 | 12 | namespace caffe { 13 | 14 | class ProtoTest : public ::testing::Test {}; 15 | 16 | TEST_F(ProtoTest, TestSerialization) { 17 | LayerParameter param; 18 | param.set_name("test"); 19 | param.set_type("Test"); 20 | std::cout << "Printing in binary format." << std::endl; 21 | std::cout << param.SerializeAsString() << std::endl; 22 | std::cout << "Printing in text format." << std::endl; 23 | std::string str; 24 | google::protobuf::TextFormat::PrintToString(param, &str); 25 | std::cout << str << std::endl; 26 | EXPECT_TRUE(true); 27 | } 28 | 29 | } // namespace caffe 30 | -------------------------------------------------------------------------------- /caffe/src/gtest/.svn/all-wcprops: -------------------------------------------------------------------------------- 1 | K 25 2 | svn:wc:ra_dav:version-url 3 | V 54 4 | /longjon/caffe/!svn/ver/3030/branches/future/src/gtest 5 | END 6 | gtest.h 7 | K 25 8 | svn:wc:ra_dav:version-url 9 | V 62 10 | /longjon/caffe/!svn/ver/2713/branches/future/src/gtest/gtest.h 11 | END 12 | CMakeLists.txt 13 | K 25 14 | svn:wc:ra_dav:version-url 15 | V 69 16 | /longjon/caffe/!svn/ver/3030/branches/future/src/gtest/CMakeLists.txt 17 | END 18 | gtest-all.cpp 19 | K 25 20 | svn:wc:ra_dav:version-url 21 | V 68 22 | /longjon/caffe/!svn/ver/2713/branches/future/src/gtest/gtest-all.cpp 23 | END 24 | gtest_main.cc 25 | K 25 26 | svn:wc:ra_dav:version-url 27 | V 68 28 | /longjon/caffe/!svn/ver/2713/branches/future/src/gtest/gtest_main.cc 29 | END 30 | -------------------------------------------------------------------------------- /caffe/src/gtest/.svn/text-base/CMakeLists.txt.svn-base: -------------------------------------------------------------------------------- 1 | add_library(gtest STATIC EXCLUDE_FROM_ALL gtest.h gtest-all.cpp) 2 | caffe_default_properties(gtest) 3 | 4 | #add_library(gtest_main gtest_main.cc) 5 | #target_link_libraries(gtest_main gtest) 6 | -------------------------------------------------------------------------------- /caffe/src/gtest/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_library(gtest STATIC EXCLUDE_FROM_ALL gtest.h gtest-all.cpp) 2 | caffe_default_properties(gtest) 3 | 4 | #add_library(gtest_main gtest_main.cc) 5 | #target_link_libraries(gtest_main gtest) 6 | -------------------------------------------------------------------------------- /caffe/tools/.svn/text-base/CMakeLists.txt.svn-base: -------------------------------------------------------------------------------- 1 | # Collect source files 2 | file(GLOB_RECURSE srcs ${CMAKE_CURRENT_SOURCE_DIR}/*.cpp) 3 | 4 | # Build each source file independently 5 | foreach(source ${srcs}) 6 | get_filename_component(name ${source} NAME_WE) 7 | 8 | # caffe target already exits 9 | if(name MATCHES "caffe") 10 | set(name ${name}.bin) 11 | endif() 12 | 13 | # target 14 | add_executable(${name} ${source}) 15 | target_link_libraries(${name} ${Caffe_LINK}) 16 | caffe_default_properties(${name}) 17 | 18 | # set back RUNTIME_OUTPUT_DIRECTORY 19 | caffe_set_runtime_directory(${name} "${PROJECT_BINARY_DIR}/tools") 20 | caffe_set_solution_folder(${name} tools) 21 | 22 | # restore output name without suffix 23 | if(name MATCHES "caffe.bin") 24 | set_target_properties(${name} PROPERTIES OUTPUT_NAME caffe) 25 | endif() 26 | 27 | # Install 28 | install(TARGETS ${name} DESTINATION bin) 29 | endforeach(source) 30 | -------------------------------------------------------------------------------- /caffe/tools/.svn/text-base/device_query.cpp.svn-base: -------------------------------------------------------------------------------- 1 | #include "caffe/common.hpp" 2 | 3 | int main(int argc, char** argv) { 4 | LOG(FATAL) << "Deprecated. Use caffe device_query " 5 | "[--device_id=0] instead."; 6 | return 0; 7 | } 8 | -------------------------------------------------------------------------------- /caffe/tools/.svn/text-base/finetune_net.cpp.svn-base: -------------------------------------------------------------------------------- 1 | #include "caffe/caffe.hpp" 2 | 3 | int main(int argc, char** argv) { 4 | LOG(FATAL) << "Deprecated. Use caffe train --solver=... " 5 | "[--weights=...] instead."; 6 | return 0; 7 | } 8 | -------------------------------------------------------------------------------- /caffe/tools/.svn/text-base/net_speed_benchmark.cpp.svn-base: -------------------------------------------------------------------------------- 1 | #include "caffe/caffe.hpp" 2 | 3 | int main(int argc, char** argv) { 4 | LOG(FATAL) << "Deprecated. Use caffe time --model=... " 5 | "[--iterations=50] [--gpu] [--device_id=0]"; 6 | return 0; 7 | } 8 | -------------------------------------------------------------------------------- /caffe/tools/.svn/text-base/test_net.cpp.svn-base: -------------------------------------------------------------------------------- 1 | #include "caffe/caffe.hpp" 2 | 3 | int main(int argc, char** argv) { 4 | LOG(FATAL) << "Deprecated. Use caffe test --model=... " 5 | "--weights=... instead."; 6 | return 0; 7 | } 8 | -------------------------------------------------------------------------------- /caffe/tools/.svn/text-base/train_net.cpp.svn-base: -------------------------------------------------------------------------------- 1 | #include "caffe/caffe.hpp" 2 | 3 | int main(int argc, char** argv) { 4 | LOG(FATAL) << "Deprecated. Use caffe train --solver=... " 5 | "[--snapshot=...] instead."; 6 | return 0; 7 | } 8 | -------------------------------------------------------------------------------- /caffe/tools/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Collect source files 2 | file(GLOB_RECURSE srcs ${CMAKE_CURRENT_SOURCE_DIR}/*.cpp) 3 | 4 | # Build each source file independently 5 | foreach(source ${srcs}) 6 | get_filename_component(name ${source} NAME_WE) 7 | 8 | # caffe target already exits 9 | if(name MATCHES "caffe") 10 | set(name ${name}.bin) 11 | endif() 12 | 13 | # target 14 | add_executable(${name} ${source}) 15 | target_link_libraries(${name} ${Caffe_LINK}) 16 | caffe_default_properties(${name}) 17 | 18 | # set back RUNTIME_OUTPUT_DIRECTORY 19 | caffe_set_runtime_directory(${name} "${PROJECT_BINARY_DIR}/tools") 20 | caffe_set_solution_folder(${name} tools) 21 | 22 | # restore output name without suffix 23 | if(name MATCHES "caffe.bin") 24 | set_target_properties(${name} PROPERTIES OUTPUT_NAME caffe) 25 | endif() 26 | 27 | # Install 28 | install(TARGETS ${name} DESTINATION bin) 29 | endforeach(source) 30 | -------------------------------------------------------------------------------- /caffe/tools/device_query.cpp: -------------------------------------------------------------------------------- 1 | #include "caffe/common.hpp" 2 | 3 | int main(int argc, char** argv) { 4 | LOG(FATAL) << "Deprecated. Use caffe device_query " 5 | "[--device_id=0] instead."; 6 | return 0; 7 | } 8 | -------------------------------------------------------------------------------- /caffe/tools/extra/.svn/all-wcprops: -------------------------------------------------------------------------------- 1 | K 25 2 | svn:wc:ra_dav:version-url 3 | V 56 4 | /longjon/caffe/!svn/ver/2854/branches/future/tools/extra 5 | END 6 | extract_seconds.py 7 | K 25 8 | svn:wc:ra_dav:version-url 9 | V 75 10 | /longjon/caffe/!svn/ver/2854/branches/future/tools/extra/extract_seconds.py 11 | END 12 | plot_log.gnuplot.example 13 | K 25 14 | svn:wc:ra_dav:version-url 15 | V 81 16 | /longjon/caffe/!svn/ver/2713/branches/future/tools/extra/plot_log.gnuplot.example 17 | END 18 | parse_log.py 19 | K 25 20 | svn:wc:ra_dav:version-url 21 | V 69 22 | /longjon/caffe/!svn/ver/2854/branches/future/tools/extra/parse_log.py 23 | END 24 | resize_and_crop_images.py 25 | K 25 26 | svn:wc:ra_dav:version-url 27 | V 82 28 | /longjon/caffe/!svn/ver/2713/branches/future/tools/extra/resize_and_crop_images.py 29 | END 30 | parse_log.sh 31 | K 25 32 | svn:wc:ra_dav:version-url 33 | V 69 34 | /longjon/caffe/!svn/ver/2713/branches/future/tools/extra/parse_log.sh 35 | END 36 | plot_training_log.py.example 37 | K 25 38 | svn:wc:ra_dav:version-url 39 | V 85 40 | /longjon/caffe/!svn/ver/2713/branches/future/tools/extra/plot_training_log.py.example 41 | END 42 | launch_resize_and_crop_images.sh 43 | K 25 44 | svn:wc:ra_dav:version-url 45 | V 89 46 | /longjon/caffe/!svn/ver/2713/branches/future/tools/extra/launch_resize_and_crop_images.sh 47 | END 48 | -------------------------------------------------------------------------------- /caffe/tools/extra/.svn/prop-base/extract_seconds.py.svn-base: -------------------------------------------------------------------------------- 1 | K 14 2 | svn:executable 3 | V 1 4 | * 5 | END 6 | -------------------------------------------------------------------------------- /caffe/tools/extra/.svn/prop-base/launch_resize_and_crop_images.sh.svn-base: -------------------------------------------------------------------------------- 1 | K 14 2 | svn:executable 3 | V 1 4 | * 5 | END 6 | -------------------------------------------------------------------------------- /caffe/tools/extra/.svn/prop-base/parse_log.py.svn-base: -------------------------------------------------------------------------------- 1 | K 14 2 | svn:executable 3 | V 1 4 | * 5 | END 6 | -------------------------------------------------------------------------------- /caffe/tools/extra/.svn/prop-base/parse_log.sh.svn-base: -------------------------------------------------------------------------------- 1 | K 14 2 | svn:executable 3 | V 1 4 | * 5 | END 6 | -------------------------------------------------------------------------------- /caffe/tools/extra/.svn/prop-base/plot_training_log.py.example.svn-base: -------------------------------------------------------------------------------- 1 | K 14 2 | svn:executable 3 | V 1 4 | * 5 | END 6 | -------------------------------------------------------------------------------- /caffe/tools/extra/.svn/prop-base/resize_and_crop_images.py.svn-base: -------------------------------------------------------------------------------- 1 | K 14 2 | svn:executable 3 | V 1 4 | * 5 | END 6 | -------------------------------------------------------------------------------- /caffe/tools/finetune_net.cpp: -------------------------------------------------------------------------------- 1 | #include "caffe/caffe.hpp" 2 | 3 | int main(int argc, char** argv) { 4 | LOG(FATAL) << "Deprecated. Use caffe train --solver=... " 5 | "[--weights=...] instead."; 6 | return 0; 7 | } 8 | -------------------------------------------------------------------------------- /caffe/tools/net_speed_benchmark.cpp: -------------------------------------------------------------------------------- 1 | #include "caffe/caffe.hpp" 2 | 3 | int main(int argc, char** argv) { 4 | LOG(FATAL) << "Deprecated. Use caffe time --model=... " 5 | "[--iterations=50] [--gpu] [--device_id=0]"; 6 | return 0; 7 | } 8 | -------------------------------------------------------------------------------- /caffe/tools/test_net.cpp: -------------------------------------------------------------------------------- 1 | #include "caffe/caffe.hpp" 2 | 3 | int main(int argc, char** argv) { 4 | LOG(FATAL) << "Deprecated. Use caffe test --model=... " 5 | "--weights=... instead."; 6 | return 0; 7 | } 8 | -------------------------------------------------------------------------------- /caffe/tools/train_net.cpp: -------------------------------------------------------------------------------- 1 | #include "caffe/caffe.hpp" 2 | 3 | int main(int argc, char** argv) { 4 | LOG(FATAL) << "Deprecated. Use caffe train --solver=... " 5 | "[--snapshot=...] instead."; 6 | return 0; 7 | } 8 | -------------------------------------------------------------------------------- /whats-the-point-2016/code/BuildGLTree.mexa64: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/whats-the-point-2016/code/BuildGLTree.mexa64 -------------------------------------------------------------------------------- /whats-the-point-2016/code/DeleteGLTree.mexa64: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/whats-the-point-2016/code/DeleteGLTree.mexa64 -------------------------------------------------------------------------------- /whats-the-point-2016/code/GraphSeg_mex.mexa64: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/whats-the-point-2016/code/GraphSeg_mex.mexa64 -------------------------------------------------------------------------------- /whats-the-point-2016/code/KNNSearch.mexa64: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/whats-the-point-2016/code/KNNSearch.mexa64 -------------------------------------------------------------------------------- /whats-the-point-2016/code/build/pip-delete-this-directory.txt: -------------------------------------------------------------------------------- 1 | This file is placed here by pip to indicate the source was put 2 | here by pip. 3 | 4 | Once this package is successfully installed this source code will be 5 | deleted (unless you remove this file). 6 | -------------------------------------------------------------------------------- /whats-the-point-2016/code/build/webcolors/MANIFEST.in: -------------------------------------------------------------------------------- 1 | include LICENSE 2 | include MANIFEST.in 3 | include README.rst 4 | recursive-include docs * 5 | recursive-include tests * -------------------------------------------------------------------------------- /whats-the-point-2016/code/build/webcolors/README.rst: -------------------------------------------------------------------------------- 1 | .. -*-restructuredtext-*- 2 | 3 | ``webcolors`` is a simple Python module for working with HTML/CSS 4 | color definitions. 5 | 6 | Support is included for normalizing and converting between the 7 | following formats (RGB colorspace only; conversion to/from HSL can be 8 | handled by the ``colorsys`` module in the Python standard library): 9 | 10 | * Specification-defined color names 11 | 12 | * Six-digit hexadecimal 13 | 14 | * Three-digit hexadecimal 15 | 16 | * Integer ``rgb()`` triplet 17 | 18 | * Percentage ``rgb()`` triplet 19 | 20 | For example:: 21 | 22 | >>> import webcolors 23 | >>> webcolors.hex_to_name(u'#daa520') 24 | u'goldenrod' 25 | 26 | Implementations are also provided for the HTML5 color parsing and 27 | serialization algorithms. For example, parsing the infamous 28 | "chucknorris" string into an rgb() triplet:: 29 | 30 | >>> import webcolors 31 | >>> webcolors.html5_parse_legacy_color(u'chucknorris') 32 | (192, 0, 0) 33 | 34 | Full documentation is `available online `_. -------------------------------------------------------------------------------- /whats-the-point-2016/code/build/webcolors/docs/conf.py: -------------------------------------------------------------------------------- 1 | import os 2 | 3 | on_rtd = os.environ.get('READTHEDOCS', None) == 'True' 4 | 5 | extensions = [] 6 | templates_path = ['_templates'] 7 | source_suffix = '.rst' 8 | master_doc = 'index' 9 | project = u'webcolors' 10 | copyright = u'2009-2014, James Bennett' 11 | version = '1.5' 12 | release = '1.5' 13 | exclude_trees = ['_build'] 14 | pygments_style = 'sphinx' 15 | html_static_path = ['_static'] 16 | htmlhelp_basename = 'webcolorsdoc' 17 | latex_documents = [ 18 | ('index', 'webcolors.tex', u'webcolors Documentation', 19 | u'James Bennett', 'manual'), 20 | ] 21 | if not on_rtd: 22 | import sphinx_rtd_theme 23 | html_theme = 'sphinx_rtd_theme' 24 | html_theme_path = [sphinx_rtd_theme.get_html_theme_path()] 25 | 26 | -------------------------------------------------------------------------------- /whats-the-point-2016/code/build/webcolors/pip-egg-info/webcolors.egg-info/SOURCES.txt: -------------------------------------------------------------------------------- 1 | LICENSE 2 | MANIFEST.in 3 | README.rst 4 | webcolors.py 5 | docs/Makefile 6 | docs/colors.rst 7 | docs/conf.py 8 | docs/conformance.rst 9 | docs/contents.rst 10 | docs/conventions.rst 11 | docs/faq.rst 12 | docs/index.rst 13 | docs/install.rst 14 | docs/make.bat 15 | pip-egg-info/webcolors.egg-info/PKG-INFO 16 | pip-egg-info/webcolors.egg-info/SOURCES.txt 17 | pip-egg-info/webcolors.egg-info/dependency_links.txt 18 | pip-egg-info/webcolors.egg-info/top_level.txt 19 | tests/__init__.py 20 | tests/definitions.py 21 | tests/full_colors.py 22 | tests/test_conformance.py 23 | tests/test_hexadecimal.py 24 | tests/test_html5.py 25 | tests/test_integer.py 26 | tests/test_name.py 27 | tests/test_normalization.py 28 | tests/test_percent.py -------------------------------------------------------------------------------- /whats-the-point-2016/code/build/webcolors/pip-egg-info/webcolors.egg-info/dependency_links.txt: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /whats-the-point-2016/code/build/webcolors/pip-egg-info/webcolors.egg-info/top_level.txt: -------------------------------------------------------------------------------- 1 | webcolors 2 | -------------------------------------------------------------------------------- /whats-the-point-2016/code/build/webcolors/tests/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/whats-the-point-2016/code/build/webcolors/tests/__init__.py -------------------------------------------------------------------------------- /whats-the-point-2016/code/compute_mIOU.py: -------------------------------------------------------------------------------- 1 | import numpy as np 2 | from numpy import * 3 | from numpy.linalg import * 4 | import PIL 5 | from PIL import Image 6 | import skimage 7 | import scipy 8 | import sys 9 | import os 10 | from pylab import * 11 | 12 | 13 | def computeIOU(predicted_arr, gt_arr, num_intersection, num_union): 14 | im_height = gt_arr.shape[0] # num rows 15 | im_width = gt_arr.shape[1] # num cols 16 | 17 | # Add on intersection and union 18 | for class_ in range(len(num_union)): 19 | (ni, nu) = jaccard(predicted_arr, gt_arr, class_) 20 | num_intersection[class_] += ni 21 | num_union[class_] += nu 22 | 23 | return (num_intersection, num_union) 24 | 25 | 26 | # Function: iou 27 | # -------------- 28 | # Computes the Jaccard similarity of two flattened images for a class 29 | def jaccard(pred, gt, class_): 30 | p = (pred == class_); 31 | g = (gt == class_); 32 | gm = (gt == 255); 33 | 34 | intersection = sum(p & g); 35 | union = sum(p | g) - sum(p & gm); 36 | return (intersection, union) 37 | 38 | 39 | -------------------------------------------------------------------------------- /whats-the-point-2016/code/fontconfig/04aabc0a78ac019cf9454389977116d2-le64.cache-3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/whats-the-point-2016/code/fontconfig/04aabc0a78ac019cf9454389977116d2-le64.cache-3 -------------------------------------------------------------------------------- /whats-the-point-2016/code/fontconfig/0c9eb80ebd1c36541ebe2852d3bb0c49-le64.cache-3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/whats-the-point-2016/code/fontconfig/0c9eb80ebd1c36541ebe2852d3bb0c49-le64.cache-3 -------------------------------------------------------------------------------- /whats-the-point-2016/code/fontconfig/0d8c3b2ac0904cb8a57a757ad11a4a08-le64.cache-3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/whats-the-point-2016/code/fontconfig/0d8c3b2ac0904cb8a57a757ad11a4a08-le64.cache-3 -------------------------------------------------------------------------------- /whats-the-point-2016/code/fontconfig/188ac73a183f12857f63bb60a4a6d603-le64.cache-3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/whats-the-point-2016/code/fontconfig/188ac73a183f12857f63bb60a4a6d603-le64.cache-3 -------------------------------------------------------------------------------- /whats-the-point-2016/code/fontconfig/1ac9eb803944fde146138c791f5cc56a-le64.cache-3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/whats-the-point-2016/code/fontconfig/1ac9eb803944fde146138c791f5cc56a-le64.cache-3 -------------------------------------------------------------------------------- /whats-the-point-2016/code/fontconfig/2cd17615ca594fa2959ae173292e504c-le64.cache-3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/whats-the-point-2016/code/fontconfig/2cd17615ca594fa2959ae173292e504c-le64.cache-3 -------------------------------------------------------------------------------- /whats-the-point-2016/code/fontconfig/3047814df9a2f067bd2d96a2b9c36e5a-le64.cache-3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/whats-the-point-2016/code/fontconfig/3047814df9a2f067bd2d96a2b9c36e5a-le64.cache-3 -------------------------------------------------------------------------------- /whats-the-point-2016/code/fontconfig/3830d5c3ddfd5cd38a049b759396e72e-le64.cache-3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/whats-the-point-2016/code/fontconfig/3830d5c3ddfd5cd38a049b759396e72e-le64.cache-3 -------------------------------------------------------------------------------- /whats-the-point-2016/code/fontconfig/385c0604a188198f04d133e54aba7fe7-le64.cache-3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/whats-the-point-2016/code/fontconfig/385c0604a188198f04d133e54aba7fe7-le64.cache-3 -------------------------------------------------------------------------------- /whats-the-point-2016/code/fontconfig/3f7329c5293ffd510edef78f73874cfd-le64.cache-3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/whats-the-point-2016/code/fontconfig/3f7329c5293ffd510edef78f73874cfd-le64.cache-3 -------------------------------------------------------------------------------- /whats-the-point-2016/code/fontconfig/4794a0821666d79190d59a36cb4f44b5-le64.cache-3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/whats-the-point-2016/code/fontconfig/4794a0821666d79190d59a36cb4f44b5-le64.cache-3 -------------------------------------------------------------------------------- /whats-the-point-2016/code/fontconfig/4c599c202bc5c08e2d34565a40eac3b2-le64.cache-3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/whats-the-point-2016/code/fontconfig/4c599c202bc5c08e2d34565a40eac3b2-le64.cache-3 -------------------------------------------------------------------------------- /whats-the-point-2016/code/fontconfig/56cf4f4769d0f4abc89a4895d7bd3ae1-le64.cache-3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/whats-the-point-2016/code/fontconfig/56cf4f4769d0f4abc89a4895d7bd3ae1-le64.cache-3 -------------------------------------------------------------------------------- /whats-the-point-2016/code/fontconfig/57e423e26b20ab21d0f2f29c145174c3-le64.cache-3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/whats-the-point-2016/code/fontconfig/57e423e26b20ab21d0f2f29c145174c3-le64.cache-3 -------------------------------------------------------------------------------- /whats-the-point-2016/code/fontconfig/6333f38776742d18e214673cd2c24e34-le64.cache-3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/whats-the-point-2016/code/fontconfig/6333f38776742d18e214673cd2c24e34-le64.cache-3 -------------------------------------------------------------------------------- /whats-the-point-2016/code/fontconfig/6aa41aa22e18b8fa06a12da28ea9c28b-le64.cache-3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/whats-the-point-2016/code/fontconfig/6aa41aa22e18b8fa06a12da28ea9c28b-le64.cache-3 -------------------------------------------------------------------------------- /whats-the-point-2016/code/fontconfig/707971e003b4ae6c8121c3a920e507f5-le64.cache-3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/whats-the-point-2016/code/fontconfig/707971e003b4ae6c8121c3a920e507f5-le64.cache-3 -------------------------------------------------------------------------------- /whats-the-point-2016/code/fontconfig/767a8244fc0220cfb567a839d0392e0b-le64.cache-3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/whats-the-point-2016/code/fontconfig/767a8244fc0220cfb567a839d0392e0b-le64.cache-3 -------------------------------------------------------------------------------- /whats-the-point-2016/code/fontconfig/7ef2298fde41cc6eeb7af42e48b7d293-le64.cache-3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/whats-the-point-2016/code/fontconfig/7ef2298fde41cc6eeb7af42e48b7d293-le64.cache-3 -------------------------------------------------------------------------------- /whats-the-point-2016/code/fontconfig/8801497958630a81b71ace7c5f9b32a8-le64.cache-3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/whats-the-point-2016/code/fontconfig/8801497958630a81b71ace7c5f9b32a8-le64.cache-3 -------------------------------------------------------------------------------- /whats-the-point-2016/code/fontconfig/945677eb7aeaf62f1d50efc3fb3ec7d8-le64.cache-3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/whats-the-point-2016/code/fontconfig/945677eb7aeaf62f1d50efc3fb3ec7d8-le64.cache-3 -------------------------------------------------------------------------------- /whats-the-point-2016/code/fontconfig/95530828ff6c81d309f8258d8d02a23e-le64.cache-3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/whats-the-point-2016/code/fontconfig/95530828ff6c81d309f8258d8d02a23e-le64.cache-3 -------------------------------------------------------------------------------- /whats-the-point-2016/code/fontconfig/a755afe4a08bf5b97852ceb7400b47bc-le64.cache-3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/whats-the-point-2016/code/fontconfig/a755afe4a08bf5b97852ceb7400b47bc-le64.cache-3 -------------------------------------------------------------------------------- /whats-the-point-2016/code/fontconfig/b47c4e1ecd0709278f4910c18777a504-le64.cache-3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/whats-the-point-2016/code/fontconfig/b47c4e1ecd0709278f4910c18777a504-le64.cache-3 -------------------------------------------------------------------------------- /whats-the-point-2016/code/fontconfig/b9d506c9ac06c20b433354fa67a72993-le64.cache-3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/whats-the-point-2016/code/fontconfig/b9d506c9ac06c20b433354fa67a72993-le64.cache-3 -------------------------------------------------------------------------------- /whats-the-point-2016/code/fontconfig/c05880de57d1f5e948fdfacc138775d9-le64.cache-3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/whats-the-point-2016/code/fontconfig/c05880de57d1f5e948fdfacc138775d9-le64.cache-3 -------------------------------------------------------------------------------- /whats-the-point-2016/code/fontconfig/c855463f699352c367813e37f3f70ea7-le64.cache-3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/whats-the-point-2016/code/fontconfig/c855463f699352c367813e37f3f70ea7-le64.cache-3 -------------------------------------------------------------------------------- /whats-the-point-2016/code/fontconfig/cabbd14511b9e8a55e92af97fb3a0461-le64.cache-3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/whats-the-point-2016/code/fontconfig/cabbd14511b9e8a55e92af97fb3a0461-le64.cache-3 -------------------------------------------------------------------------------- /whats-the-point-2016/code/fontconfig/d3e5c4ee2ceb1fc347f91d4cefc53bc0-le64.cache-3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/whats-the-point-2016/code/fontconfig/d3e5c4ee2ceb1fc347f91d4cefc53bc0-le64.cache-3 -------------------------------------------------------------------------------- /whats-the-point-2016/code/fontconfig/d52a8644073d54c13679302ca1180695-le64.cache-3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/whats-the-point-2016/code/fontconfig/d52a8644073d54c13679302ca1180695-le64.cache-3 -------------------------------------------------------------------------------- /whats-the-point-2016/code/fontconfig/d589a48862398ed80a3d6066f4f56f4c-le64.cache-3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/whats-the-point-2016/code/fontconfig/d589a48862398ed80a3d6066f4f56f4c-le64.cache-3 -------------------------------------------------------------------------------- /whats-the-point-2016/code/fontconfig/d82eb4fd963d448e2fcb7d7b793b5df3-le64.cache-3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/whats-the-point-2016/code/fontconfig/d82eb4fd963d448e2fcb7d7b793b5df3-le64.cache-3 -------------------------------------------------------------------------------- /whats-the-point-2016/code/fontconfig/dc05db6664285cc2f12bf69c139ae4c3-le64.cache-3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/whats-the-point-2016/code/fontconfig/dc05db6664285cc2f12bf69c139ae4c3-le64.cache-3 -------------------------------------------------------------------------------- /whats-the-point-2016/code/fontconfig/e13b20fdb08344e0e664864cc2ede53d-le64.cache-3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/whats-the-point-2016/code/fontconfig/e13b20fdb08344e0e664864cc2ede53d-le64.cache-3 -------------------------------------------------------------------------------- /whats-the-point-2016/code/fontconfig/e52a45a1c8c8fe895fc0fc8c4e6999b8-le64.cache-3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/whats-the-point-2016/code/fontconfig/e52a45a1c8c8fe895fc0fc8c4e6999b8-le64.cache-3 -------------------------------------------------------------------------------- /whats-the-point-2016/code/fontconfig/e7071f4a29fa870f4323321c154eba04-le64.cache-3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/whats-the-point-2016/code/fontconfig/e7071f4a29fa870f4323321c154eba04-le64.cache-3 -------------------------------------------------------------------------------- /whats-the-point-2016/code/fontconfig/f1f2465696798768e9653f19e17ccdc8-le64.cache-3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/whats-the-point-2016/code/fontconfig/f1f2465696798768e9653f19e17ccdc8-le64.cache-3 -------------------------------------------------------------------------------- /whats-the-point-2016/code/fontconfig/fe547fea3a41b43a38975d292a2b19c7-le64.cache-3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/whats-the-point-2016/code/fontconfig/fe547fea3a41b43a38975d292a2b19c7-le64.cache-3 -------------------------------------------------------------------------------- /whats-the-point-2016/code/make_idsfile.py: -------------------------------------------------------------------------------- 1 | import sys 2 | import os 3 | from os.path import isfile, join, splitext 4 | 5 | def main(argv): 6 | IMG_DIR = '/imagenetdb3/abearman/data/pascal-context-59/59_context_labels/' 7 | #IMG_DIR = '/imagenetdb3/abearman/data/pascal-context-459/trainval/' 8 | TRAIN_FILE = '/imagenetdb3/abearman/data/pascal-context-59/train.txt' 9 | VAL_FILE = '/imagenetdb3/abearman/data/pascal-context-59/val.txt' 10 | VAL_DIR = '/imagenetdb3/abearman/data/pascal-context-59/59_context_labels/' 11 | 12 | if os.path.exists(TRAIN_FILE): 13 | os.remove(TRAIN_FILE) 14 | if os.path.exists(VAL_FILE): 15 | os.remove(VAL_FILE) 16 | EWFHO;w 17 | with open(OUT_FILE, "a") as txt_file: 18 | for f in os.listdir(IMG_DIR): 19 | img_prefix = splitext(f)[0] 20 | if isfile(join(IMG_DIR, f)): 21 | txt_file.write(img_prefix + '\n') 22 | 23 | if __name__ == "__main__": 24 | main(sys.argv) 25 | -------------------------------------------------------------------------------- /whats-the-point-2016/code/parse_amt_times.py: -------------------------------------------------------------------------------- 1 | import json 2 | 3 | 4 | RESULTS_FILE = "/afs/cs/u/abearman/whats_the_point_2015/AMT_UI/results/pascal_2012tv_SBDtv_n30_acc80_t628.txt" 5 | 6 | 7 | print "Reading results file ..." 8 | output_json_data = open(RESULTS_FILE).read() 9 | print "Done reading results file" 10 | output_data = json.loads(output_json_data) 11 | print "Done loading results json" 12 | 13 | print "There are " + str(len(output_data)) + " HITs to parse." 14 | 15 | f = open('/imagenetdb3/abearman/whats-the-point-code/PASCAL_AMT_TIMES.txt', 'w') 16 | 17 | counter = 1 18 | for hit in output_data: 19 | print counter 20 | counter += 1 21 | img_ids = [str(img["img_id"]) for img in hit["output"]["input"]["questions"]] 22 | img_outputs = hit["output"]["output"] 23 | 24 | for i in xrange(len(img_outputs)): 25 | img_id = img_ids[i] 26 | click_data = img_outputs[i] 27 | time = click_data["time"] / 1000.0 # In ms 28 | f.write(img_id + " " + str(time) + "\n") 29 | 30 | f.close() 31 | -------------------------------------------------------------------------------- /whats-the-point-2016/code/plot_times.m: -------------------------------------------------------------------------------- 1 | numClassesPerImage = 1.5; 2 | numInstancesPerImage = 2.8; 3 | numPASCAL = 12031; 4 | 5 | timePerLabel = 1; 6 | timePerClick = 2.4; 7 | timePerSquiggle = 10.9; 8 | timePerBox = 26; 9 | timePerSegmentation = 79; 10 | 11 | imgIOU = 32.2; 12 | clickIOU = 42.7; 13 | clickIOUtest = 43.6; 14 | squiggleIOU = 49.1; 15 | boxIOU = 45.1; 16 | fsIOU = 58.3; 17 | 18 | imgTime = 20*timePerLabel; 19 | clickTime = (20-numClassesPerImage)*timePerLabel +... 20 | numClassesPerImage*timePerClick; 21 | squiggleTime = (20-numClassesPerImage)*timePerLabel +... 22 | numClassesPerImage*timePerSquiggle; 23 | boxTime = (20-numClassesPerImage)*timePerLabel +... 24 | numInstancesPerImage*timePerBox; 25 | segmTime = (20-numClassesPerImage)*timePerLabel +... 26 | numInstancesPerImage*timePerSegmentation; 27 | 28 | fontSize = 24*0.9; 29 | fontSizeClick = 24*1.1; 30 | 31 | markerSize = 40; 32 | markerSizeClick = 40*1.2; 33 | 34 | -------------------------------------------------------------------------------- /whats-the-point-2016/code/segment/Makefile: -------------------------------------------------------------------------------- 1 | INCDIR = -I. 2 | DBG = -g 3 | OPT = -O3 4 | CPP = g++ 5 | CFLAGS = $(DBG) $(OPT) $(INCDIR) 6 | LINK = -lm 7 | 8 | .cpp.o: 9 | $(CPP) $(CFLAGS) -c $< -o $@ 10 | 11 | all: segment 12 | 13 | segment: segment.cpp segment-image.h segment-graph.h disjoint-set.h 14 | $(CPP) $(CFLAGS) -o segment segment.cpp $(LINK) 15 | 16 | clean: 17 | /bin/rm -f segment *.o 18 | 19 | clean-all: clean 20 | /bin/rm -f *~ 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /whats-the-point-2016/code/segment/README: -------------------------------------------------------------------------------- 1 | 2 | Implementation of the segmentation algorithm described in: 3 | 4 | Efficient Graph-Based Image Segmentation 5 | Pedro F. Felzenszwalb and Daniel P. Huttenlocher 6 | International Journal of Computer Vision, 59(2) September 2004. 7 | 8 | The program takes a color image (PPM format) and produces a segmentation 9 | with a random color assigned to each region. 10 | 11 | 1) Type "make" to compile "segment". 12 | 13 | 2) Run "segment sigma k min input output". 14 | 15 | The parameters are: (see the paper for details) 16 | 17 | sigma: Used to smooth the input image before segmenting it. 18 | k: Value for the threshold function. 19 | min: Minimum component size enforced by post-processing. 20 | input: Input image. 21 | output: Output image. 22 | 23 | Typical parameters are sigma = 0.5, k = 500, min = 20. 24 | Larger values for k result in larger components in the result. 25 | 26 | -------------------------------------------------------------------------------- /whats-the-point-2016/code/segment/segment: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abearman/whats-the-point1/7d3e21ea9c48a8a5f5b44c335325b8efb985dbb1/whats-the-point-2016/code/segment/segment -------------------------------------------------------------------------------- /whats-the-point-2016/code/segment/segment_all_pascal_images.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | for f in /imagenetdb3/abearman/data/PASCAL_ppm/*.ppm; do 4 | if [ ! -f /imagenetdb3/abearman/data/pascal-oversegmented/"${f##*/}" ]; then 5 | ./segment 0.5 500 50 "$f" /imagenetdb3/abearman/data/pascal-oversegmented/"${f##*/}" 6 | fi 7 | done 8 | 9 | #for f in *.jpg; do convert ./"$f" -depth 8 ./"${f%.jpg}.ppm"; done 10 | 11 | -------------------------------------------------------------------------------- /whats-the-point-2016/code/solver.prototxt: -------------------------------------------------------------------------------- 1 | net: "/imagenetdb3/abearman/caffe/models/clean-fcn-32s-pascal/train_val.prototxt" 2 | 3 | test_iter: 5105 4 | # make test net, but don't invoke it from the solver itself 5 | test_interval: 1000000 6 | display: 20 7 | average_loss: 20 8 | lr_policy: "fixed" 9 | # lr for unnormalized softmax -- see train_val definition 10 | base_lr: 1e-10 11 | # high momentum 12 | momentum: 0.9 13 | # no gradient accumulation 14 | iter_size: 1 15 | max_iter: 80000 16 | weight_decay: 0.0005 17 | snapshot: 10000 18 | snapshot_prefix: "train" 19 | test_initialization: false 20 | -------------------------------------------------------------------------------- /whats-the-point-2016/code/visualize_image_mask.py: -------------------------------------------------------------------------------- 1 | import sys 2 | import os 3 | import os.path 4 | import numpy as np 5 | import PIL 6 | from PIL import Image 7 | import constants 8 | 9 | def main(argv): 10 | image_path = argv[1] 11 | out_path = argv[2] 12 | visualize_image(image_path, out_path) 13 | 14 | 15 | def visualize_image(image_path, out_path): 16 | basename = os.path.splitext(os.path.basename(image_path))[0] 17 | img_arr = np.array(Image.open(image_path)) 18 | 19 | labels = np.unique(img_arr).tolist() 20 | print labels 21 | 22 | output = np.zeros((img_arr.shape[0], img_arr.shape[1], 3)) 23 | for k in labels: 24 | i, j = np.where(img_arr == k) 25 | if k == 255: 26 | output[i, j] = constants.hex_to_rgb("FFFFFF") 27 | else: 28 | output[i, j] = constants.hex_to_rgb(constants.COLOR_SCHEME_HEX[k]) 29 | output = output.astype(np.uint8) 30 | 31 | Image.fromarray(output).save(out_path + '/' + basename + '_out.png') 32 | 33 | 34 | if __name__ == "__main__": 35 | main(sys.argv) 36 | -------------------------------------------------------------------------------- /whats-the-point-2016/scripts/2011/fs-expectation.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | python solve.py --year=2011 --output=fully-supervised-expectation --train-gt=lmdb-fs-gt3 --lr=1e-10 --gpu=1 --expectation 3 | -------------------------------------------------------------------------------- /whats-the-point-2016/scripts/2011/fs-no-bg-constraint.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | python solve.py --year=2011 --fs-no-bg-constraint --lr=1e-10 --train-gt=lmdb-fs-minus-bg-gt3 --expectation --location --constraint --gpu=3 3 | -------------------------------------------------------------------------------- /whats-the-point-2016/scripts/2011/fs-no-bg-objectness-constraint.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | python solve.py --year=2011 --output=fs-no-bg-objectness-constraint --lr=1e-10 --train-gt=lmdb-fs-minus-bg-gt3 --expectation --location --objectness --constraint --gpu=2 3 | -------------------------------------------------------------------------------- /whats-the-point-2016/scripts/2011/fs-no-bg-objectness.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | python solve.py --year=2011 --output=fs-no-bg-objectness --lr=1e-10 --train-gt=lmdb-fs-minus-bg-gt3 --expectation --location --objectness --gpu=3 3 | -------------------------------------------------------------------------------- /whats-the-point-2016/scripts/2011/fs-no-bg.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | python solve.py --year=2011 --output=fs-no-bg --lr=1e-10 --train-gt=lmdb-fs-minus-bg-gt3 --expectation --location --gpu=2 3 | -------------------------------------------------------------------------------- /whats-the-point-2016/scripts/2011/table1_1.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | python solve.py --output=table1_1 --init-from=table1_1/iters/table1_1_step5000.caffemodel 3 | 4 | -------------------------------------------------------------------------------- /whats-the-point-2016/scripts/2011/table2_2.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | python solve.py --output=table2_2 --train-img=lmdb-pascal_SBDt-img --train-gt=lmdb-pascal_SBDt-gt --val-img=lmdb-pascal_SBDv-img --val-gt=lmdb-pascal_SBDv-gt 4 | 5 | -------------------------------------------------------------------------------- /whats-the-point-2016/scripts/2011/user-clicks-expectation-objectness.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | python solve.py --year=2011 --output=user-clicks-expectation-objectness --train-gt=lmdb-pascal_2011t-real1-gt-plus-objectness-3channel --expectation --location --objectness --gpu=3 --lr=1e-10 3 | 4 | -------------------------------------------------------------------------------- /whats-the-point-2016/scripts/2011/user-clicks-expectation-patch.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | python solve.py --output=user-clicks-expectation-patch --train-gt=lmdb-pascal_2011t-real1-radius2-gt-plus-objectness-3channel --expectation=true --use-gpu=yes --gpu=1 --lr=1e-12 3 | 4 | -------------------------------------------------------------------------------- /whats-the-point-2016/scripts/2011/user-clicks-expectation.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | python solve.py --year=2011 --output=user-clicks-expectation --train-gt=lmdb-pascal_2011t-real1-gt-plus-objectness-3channel --expectation --gpu=0 --lr=1e-12 3 | 4 | -------------------------------------------------------------------------------- /whats-the-point-2016/scripts/2011/user-clicks-objectness-constraint.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | python solve.py --year=2011 --output=user-clicks-objectness-constraint --train-gt=lmdb-pascal_2011t-real1-gt-plus-objectness-3channel --expectation --location --objectness --constraint --gpu=2 --lr=1e-10 --display=1 3 | -------------------------------------------------------------------------------- /whats-the-point-2016/scripts/2011/user-clicks-objectness.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | #python solve.py --output=objects-no-bg-objectness --train-gt=lmdb-pascal_2011t-gt-ignorebg-plus-objectness --objectness=true 3 | 4 | #python solve.py --output=objects-no-bg-objectness --train-gt=lmdb-pascal_2011t-gt-plus-objectness --objectness=true 5 | 6 | python solve.py --year=2011 --output=user-clicks-objectness --train-gt=lmdb-pascal_2011t-real1-gt-plus-objectness --objectness --gpu=3 --lr=1e-10 7 | 8 | #python solve.py --output=objects-no-bg-objectness --train-gt=lmdb-pascal_2011t-ignorebg-gt --objectness=true 9 | -------------------------------------------------------------------------------- /whats-the-point-2016/scripts/2011/user-clicks.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | python solve.py --year=2011 --output=user-clicks --train-gt=lmdb-pascal_2011t-real1-gt-plus-objectness-3channel --expectation --location --lr=1e-5 --gpu=3 3 | -------------------------------------------------------------------------------- /whats-the-point-2016/scripts/2012/100-fs-rest-points.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | python ../../code/solve.py --year=2012 --output=100-fs-rest-points --lr=1e-5 --train-gt=/imagenetdb3/abearman/data/segm_lmdb/lmdb-pascal_2012t_SBDtv_minus_2012v/lmdb-100-fs-rest-points-gt3 --expectation --location --objectness --constraint --classes --gpu=1 --display=1 --start-iter=25000 --init-from=/imagenetdb3/abearman/caffe/models/fcn-32s-pascal/2012/100-fs-rest-points/iters/100-fs-rest-points_step25000.caffemodel 3 | -------------------------------------------------------------------------------- /whats-the-point-2016/scripts/2012/bbox-cls-con-proportional-half.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | python /imagenetdb3/abearman/caffe/models/code/solve.py --year=2012 --output=bbox-cls-con-proportional-half --lr=1e-5 --train-img=/imagenetdb3/abearman/data/segm_lmdb/lmdb-pascal_2012t_SBDtv_minus_2012v/lmdb-bbox-proportional-half-img --train-gt=/imagenetdb3/abearman/data/segm_lmdb/lmdb-pascal_2012t_SBDtv_minus_2012v/lmdb-bbox-proportional-half-gt3 --expectation --location --constraint --classes --gpu=1 --display=1 3 | -------------------------------------------------------------------------------- /whats-the-point-2016/scripts/2012/bbox-cls-con-proportional.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | python /imagenetdb3/abearman/caffe/models/code/solve.py --year=2012 --output=bbox-cls-con-proportional --lr=1e-5 --train-img=/imagenetdb3/abearman/data/segm_lmdb/lmdb-pascal_2012t_SBDtv_minus_2012v/lmdb-bbox-proportional-img --train-gt=/imagenetdb3/abearman/data/segm_lmdb/lmdb-pascal_2012t_SBDtv_minus_2012v/lmdb-bbox-proportional-gt3 --expectation --location --constraint --classes --gpu=1 --display=1 --init-from=/imagenetdb3/abearman/caffe/models/fcn-32s-pascal/2012/bbox-cls-con-proportional/iters/bbox-cls-con-proportional_step25000.caffemodel --start-iter=25000 3 | -------------------------------------------------------------------------------- /whats-the-point-2016/scripts/2012/bbox-just-supervised.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | python solve.py --year=2012 --output=bbox-just-supervised --lr=1e-10 --train-gt=lmdb-bbox-gt3 --expectation --location --no_norm_sup --no_norm_cls --no_norm_con --display=1 --gpu=0 3 | -------------------------------------------------------------------------------- /whats-the-point-2016/scripts/2012/bbox-unnormalized.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | python solve.py --year=2012 --output=bbox-unnormalized --lr=1e-10 --train-gt=lmdb-bbox-gt3 --expectation --location --objectness --constraint --no_norm_sup --display=1 --gpu=2 3 | -------------------------------------------------------------------------------- /whats-the-point-2016/scripts/2012/bbox.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | python solve.py --year=2012 --output=bbox --lr=1e-5 --train-gt=lmdb-bbox-gt3 --expectation --location --constraint --display=1 --gpu=2 3 | -------------------------------------------------------------------------------- /whats-the-point-2016/scripts/2012/cls-con-sup-unnormalized-obj-normalized.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | python solve.py --year=2012 --output=cls-con-sup-unnormalized-obj-normalized --lr=1e-10 --train-gt=lmdb-real1_click1-gt3 --expectation --location --objectness --constraint --no_norm_sup --no_norm_cls --no_norm_con --display=1 --gpu=0 3 | -------------------------------------------------------------------------------- /whats-the-point-2016/scripts/2012/fs-cls-con-10-percent.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | python solve.py --year=2012 --output=fs-cls-con --lr=1e-5 --train-img=/imagenetdb3/abearman/data/segm_lmdb/lmdb-pascal_2012t_SBDtv_minus_2012v/lmdb-fs-10-percent-img/ --train-gt=/imagenetdb3/abearman/data/segm_lmdb/lmdb-pascal_2012t_SBDtv_minus_2012v/lmdb-fs-10-percent-gt3/ --expectation --location --constraint --classes --display=1 --gpu=2 3 | 4 | -------------------------------------------------------------------------------- /whats-the-point-2016/scripts/2012/fs-cls-con-proportional-half.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | python /imagenetdb3/abearman/caffe/models/code/solve.py --year=2012 --output=fs-cls-con-proportional-half --lr=1e-5 --train-img=/imagenetdb3/abearman/data/segm_lmdb/lmdb-pascal_2012t_SBDtv_minus_2012v/lmdb-fs-proportional-half-img --train-gt=/imagenetdb3/abearman/data/segm_lmdb/lmdb-pascal_2012t_SBDtv_minus_2012v/lmdb-fs-proportional-half-gt3 --expectation --location --constraint --classes --gpu=2 --display=1 3 | -------------------------------------------------------------------------------- /whats-the-point-2016/scripts/2012/fs-cls-con-proportional.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | python /imagenetdb3/abearman/caffe/models/code/solve.py --year=2012 --output=fs-cls-con-proportional --lr=1e-5 --train-img=/imagenetdb3/abearman/data/segm_lmdb/lmdb-pascal_2012t_SBDtv_minus_2012v/lmdb-fs-proportional-img --train-gt=/imagenetdb3/abearman/data/segm_lmdb/lmdb-pascal_2012t_SBDtv_minus_2012v/lmdb-fs-proportional-gt3 --expectation --location --constraint --classes --gpu=2 --display=1 3 | -------------------------------------------------------------------------------- /whats-the-point-2016/scripts/2012/fully-supervised.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | python solve.py --year=2012 --output=fully-supervised --lr=1e-10 --train-gt=/imagenetdb3/olga/data/segm_lmdb/lmdb-pascal_2012t_SBDtv_minus_2012v/lmdb-fs-gt1 --gpu=0 3 | 4 | -------------------------------------------------------------------------------- /whats-the-point-2016/scripts/2012/image-level-labels-constraint.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | python solve.py --year=2012 --output=image-level-labels-constraint --lr=1e-5 --train-gt=lmdb-bbox-gt3 --expectation --constraint --gpu=2 --display=1 --momentum=0.9 3 | 4 | #lmdb-bbox-gt3 5 | -------------------------------------------------------------------------------- /whats-the-point-2016/scripts/2012/image-level-labels-just-objectness.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | python solve.py --year=2012 --output=image-level-labels-just-objectness --lr=5e-6 --train-gt=lmdb-bbox-gt3 --expectation --location --objectness --gpu=2 --display=1 --momentum=0.9 3 | 4 | #lmdb-bbox-gt3 5 | -------------------------------------------------------------------------------- /whats-the-point-2016/scripts/2012/image-level-labels-objectness-constraint.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | python solve.py --year=2012 --output=image-level-labels-objectness-constraint --lr=1e-5 --train-gt=lmdb-bbox-gt3 --expectation --objectness --constraint --momentum=0.9 --gpu=3 --display=1 3 | 4 | #lmdb-bbox-gt3 5 | -------------------------------------------------------------------------------- /whats-the-point-2016/scripts/2012/image-level-labels-objectness.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | python solve.py --year=2012 --output=image-level-labels-objectness --lr=1e-5 --train-gt=lmdb-bbox-gt3 --expectation --objectness --gpu=1 --display=1 --momentum=0.9 3 | 4 | -------------------------------------------------------------------------------- /whats-the-point-2016/scripts/2012/image-level-labels-proportional-half.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | python /imagenetdb3/abearman/caffe/models/code/solve.py --year=2012 --output=image-level-labels-proportional-half --lr=1e-5 --train-img=/imagenetdb3/abearman/data/segm_lmdb/lmdb-pascal_2012t_SBDtv_minus_2012v/lmdb-ill-proportional-half-img --train-gt=/imagenetdb3/abearman/data/segm_lmdb/lmdb-pascal_2012t_SBDtv_minus_2012v/lmdb-ill-proportional-half-gt3 --expectation --constraint --gpu=1 --display=1 3 | 4 | #lmdb-bbox-gt3 5 | -------------------------------------------------------------------------------- /whats-the-point-2016/scripts/2012/image-level-labels.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | python solve.py --year=2012 --output=image-level-labels --lr=1e-5 --train-gt=lmdb-bbox-gt3 --expectation --gpu=1 --display=1 --momentum=0.9 3 | 4 | #lmdb-bbox-gt3 5 | -------------------------------------------------------------------------------- /whats-the-point-2016/scripts/2012/objects-no-bg-no-objectness-constraint.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | python solve.py --year=2012 --output=objects-no-bg-no-objectness-constraint.sh --lr=1e-10 --train-gt=lmdb-pascal_2011t-gt-ignorebg-plus-objectness --expectation --location --constraint --gpu=0 3 | -------------------------------------------------------------------------------- /whats-the-point-2016/scripts/2012/objects-no-bg-objectness-constraint.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | python solve.py --year=2012 --output=objects-no-bg-objectness-constraint --lr=1e-10 --train-gt=lmdb-fs-minus-bg-gt3 --expectation --location --objectness --constraint --gpu=0 3 | -------------------------------------------------------------------------------- /whats-the-point-2016/scripts/2012/pascal-test.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | python solve.py --year=2012 --output=pascal-test --lr=1e-5 --test --train-gt=lmdb-real1_click1-gt3 --val-gt=lmdb-real1_click1-gt3 --expectation --location --objectness --constraint --classes --display=1 --gpu=2 3 | -------------------------------------------------------------------------------- /whats-the-point-2016/scripts/2012/random1-click1.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | python solve.py --year=2012 --output=random1-click1 --lr=5e-5 --train-gt=lmdb-random1_click1-gt3 --expectation --location --objectness --constraint --gpu=1 --display=1 3 | -------------------------------------------------------------------------------- /whats-the-point-2016/scripts/2012/random1-users3-convex.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | python solve.py --year=2012 --output=random1-users3-convex --lr=1e-5 --train-gt=lmdb-random1_users3_convex-gt3 --expectation --location --objectness --constraint --display=1 --gpu=0 3 | -------------------------------------------------------------------------------- /whats-the-point-2016/scripts/2012/random1-users3.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | python solve.py --year=2012 --output=random1-users3 --lr=1e-5 --train-gt=lmdb-random1_users3-gt3 --expectation --location --objectness --constraint --classes --init-from=/imagenetdb3/abearman/caffe/models/clean-fcn-32s-pascal/2012/random1-users3/iters/random1-users3_step12800.caffemodel --display=1 --gpu=2 3 | -------------------------------------------------------------------------------- /whats-the-point-2016/scripts/2012/real1-click1-cls-con-obj-proportional-half.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | python /imagenetdb3/abearman/caffe/models/code/solve.py --year=2012 --output=real1-click1-cls-con-obj-proportional-half --lr=1e-5 --train-img=/imagenetdb3/abearman/data/segm_lmdb/lmdb-pascal_2012t_SBDtv_minus_2012v/lmdb-real1-click1-proportional-half-img --train-gt=/imagenetdb3/abearman/data/segm_lmdb/lmdb-pascal_2012t_SBDtv_minus_2012v/lmdb-real1-click1-proportional-half-gt3 --expectation --location --constraint --classes --objectness --gpu=2 --display=1 3 | -------------------------------------------------------------------------------- /whats-the-point-2016/scripts/2012/real1-click1-cls-con-obj-proportional.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | python /imagenetdb3/abearman/caffe/models/code/solve.py --year=2012 --output=real1-click1-cls-con-obj-proportional --lr=1e-5 --train-img=/imagenetdb3/abearman/data/segm_lmdb/lmdb-pascal_2012t_SBDtv_minus_2012v/lmdb-real1-click1-proportional-img --train-gt=/imagenetdb3/abearman/data/segm_lmdb/lmdb-pascal_2012t_SBDtv_minus_2012v/lmdb-real1-click1-proportional-gt3 --expectation --location --constraint --classes --objectness --gpu=2 --display=1 3 | -------------------------------------------------------------------------------- /whats-the-point-2016/scripts/2012/real1-click1-cls-con-obj-random-from-3-users-1.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | python /imagenetdb3/abearman/caffe/models/code/solve.py --year=2012 --output=real1-click1-cls-con-obj-random-from-3-users-1 --lr=1e-5 --train-gt=/imagenetdb3/abearman/data/segm_lmdb/lmdb-pascal_2012t_SBDtv_minus_2012v/lmdb-real1_click1_random_from_3users_1-gt3 --expectation --location --objectness --constraint --classes --gpu=2 --display=1 3 | -------------------------------------------------------------------------------- /whats-the-point-2016/scripts/2012/real1-click1-cls-con-obj-random-from-3-users-2.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | python /imagenetdb3/abearman/caffe/models/code/solve.py --year=2012 --output=real1-click1-cls-con-obj-random-from-3-users-2 --lr=1e-5 --train-gt=/imagenetdb3/abearman/data/segm_lmdb/lmdb-pascal_2012t_SBDtv_minus_2012v/lmdb-real1_click1_random_from_3users_2-gt3 --expectation --location --objectness --constraint --classes --gpu=2 --display=1 --init-from=/imagenetdb3/abearman/caffe/models/fcn-32s-pascal/2012/real1-click1-cls-con-obj-random-from-3-users-2/iters/real1-click1-cls-con-obj-random-from-3-users-2_step25000.caffemodel --start-iter=25000 3 | 4 | -------------------------------------------------------------------------------- /whats-the-point-2016/scripts/2012/real1-click1-cls-con-obj-random-from-3-users-3.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | python /imagenetdb3/abearman/caffe/models/code/solve.py --year=2012 --output=real1-click1-cls-con-obj-random-from-3-users-3 --lr=1e-5 --train-gt=/imagenetdb3/abearman/data/segm_lmdb/lmdb-pascal_2012t_SBDtv_minus_2012v/lmdb-real1_click1_random_from_3users_3-gt3 --expectation --location --objectness --constraint --classes --gpu=2 --display=1 3 | -------------------------------------------------------------------------------- /whats-the-point-2016/scripts/2012/real1-click1-cls-con-obj.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | python /imagenetdb3/abearman/caffe/models/code/solve.py --year=2012 --output=real1-click1-cls-con-obj --lr=1e-5 --train-gt=/imagenetdb3/olga/data//segm_lmdb/lmdb-pascal_2012t_SBDtv_minus_2012v/lmdb-real1_click1-gt3 --expectation --location --objectness --constraint --classes --gpu=2 --display=1 3 | -------------------------------------------------------------------------------- /whats-the-point-2016/scripts/2012/real1-click1-cls-con.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | python solve.py --year=2012 --output=real1-click1-cls-con --lr=1e-5 --train-gt=lmdb-real1_click1-gt3 --expectation --location --constraint --classes --gpu=0 --display=1 3 | -------------------------------------------------------------------------------- /whats-the-point-2016/scripts/2012/real1-click1-cls.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | python /imagenetdb3/abearman/caffe/models/code/solve.py --year=2012 --output=real1-click1-cls --lr=1e-5 --train-gt=lmdb-real1_click1-gt3 --expectation --location --classes --display=1 --gpu=1 3 | -------------------------------------------------------------------------------- /whats-the-point-2016/scripts/2012/real1-click1-con-obj.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | python solve.py --year=2012 --output=real1-click1-con-obj --lr=1e-5 --train-gt=lmdb-real1_click1-gt3 --expectation --location --objectness --constraint --gpu=1 --display=1 3 | -------------------------------------------------------------------------------- /whats-the-point-2016/scripts/2012/real1-click1-con.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | python solve.py --year=2012 --output=real1-click1-con --lr=1e-5 --train-gt=lmdb-real1_click1-gt3 --expectation --location --constraint --display=1 --gpu=2 3 | -------------------------------------------------------------------------------- /whats-the-point-2016/scripts/2012/real1-click1-radius2-unnormalized.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | python solve.py --year=2012 --output=real1-click1-radius2-unnormalized --lr=1e-8 --train-gt=lmdb-real1_click1_radius2-gt3 --expectation --location --objectness --constraint --classes --gpu=3 --display=1 3 | -------------------------------------------------------------------------------- /whats-the-point-2016/scripts/2012/real1-click1-radius2.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | python solve.py --year=2012 --output=real1-click1-radius2 --lr=1e-5 --train-gt=lmdb-real1_click1_radius2-gt3 --expectation --location --objectness --constraint --classes --gpu=2 --display=1 --init-from=/imagenetdb3/abearman/caffe/models/clean-fcn-32s-pascal/2012/real1-click1-radius2/iters/real1-click1-radius2_step12800.caffemodel 3 | -------------------------------------------------------------------------------- /whats-the-point-2016/scripts/2012/real1-click1-radius25.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | python solve.py --year=2012 --output=real1-click1-radius25 --lr=1e-5 --train-gt=lmdb-real1_click1_radius25-gt3 --expectation --location --objectness --constraint --classes --gpu=1 --display=1 3 | -------------------------------------------------------------------------------- /whats-the-point-2016/scripts/2012/real1-click1-radius5.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | python solve.py --year=2012 --output=real1-click1-radius5 --lr=1e-5 --train-gt=lmdb-real1_click1_radius5-gt3 --expectation --location --objectness --constraint --classes --gpu=3 --display=1 3 | -------------------------------------------------------------------------------- /whats-the-point-2016/scripts/2012/real1-cls-con-obj.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | python solve.py --year=2012 --output=real1-cls-con-obj --lr=5e-5 --train-gt=lmdb-real1-gt3 --expectation --location --objectness --constraint --classes --gpu=2 --display=1 3 | -------------------------------------------------------------------------------- /whats-the-point-2016/scripts/2012/real1-rankweight.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | python solve.py --year=2012 --output=real1-rankweight --lr=1e-5 --train-gt=lmdb-real1_rankweight-gt4 --expectation --location --objectness --constraint --classes --rank --display=1 --gpu=3 3 | -------------------------------------------------------------------------------- /whats-the-point-2016/scripts/2012/real1-squiggle1-cls-con-obj-proportional-half.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | python /imagenetdb3/abearman/caffe/models/code/solve.py --year=2012 --output=real1-squiggle1-cls-con-obj-proportional-half --lr=1e-5 --train-img=/imagenetdb3/abearman/data/segm_lmdb/lmdb-pascal_2012t_SBDtv_minus_2012v/lmdb-squiggles-proportional-half-img --train-gt=/imagenetdb3/abearman/data/segm_lmdb/lmdb-pascal_2012t_SBDtv_minus_2012v/lmdb-squiggles-proportional-half-gt3 --expectation --location --constraint --classes --objectness --gpu=2 --display=1 3 | -------------------------------------------------------------------------------- /whats-the-point-2016/scripts/2012/real1-squiggle1-cls-con-obj-proportional.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | python /imagenetdb3/abearman/caffe/models/code/solve.py --year=2012 --output=real1-squiggle1-cls-con-obj-proportional --lr=1e-5 --train-img=/imagenetdb3/abearman/data/segm_lmdb/lmdb-pascal_2012t_SBDtv_minus_2012v/lmdb-squiggles-proportional-img --train-gt=/imagenetdb3/abearman/data/segm_lmdb/lmdb-pascal_2012t_SBDtv_minus_2012v/lmdb-squiggles-proportional-gt3 --expectation --location --constraint --classes --objectness --gpu=2 --display=1 --start-iter=17000 --init-from=/imagenetdb3/abearman/caffe/models/fcn-32s-pascal/2012/real1-squiggle1-cls-con-obj-proportional/iters/real1-squiggle1-cls-con-obj-proportional_step17000.caffemodel 3 | -------------------------------------------------------------------------------- /whats-the-point-2016/scripts/2012/real1-squiggle1-cls-con-obj.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | python /imagenetdb3/abearman/caffe/models/code/solve.py --year=2012 --output=real1-squiggle1-cls-con-obj --lr=1e-5 --train-gt=/imagenetdb3/abearman/data/segm_lmdb/lmdb-pascal_2012t_SBDtv_minus_2012v/lmdb-real1_squiggle1-gt3 --expectation --location --objectness --constraint --classes --gpu=2 --display=1 --init-from=/imagenetdb3/abearman/caffe/models/fcn-32s-pascal/2012/real1-squiggle1-cls-con-obj/iters/real1-squiggle1-cls-con-obj_step33000.caffemodel --start-iter=33000 3 | 4 | -------------------------------------------------------------------------------- /whats-the-point-2016/scripts/2012/real1-users3-convex.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | python solve.py --year=2012 --output=real1-users3-convex --lr=1e-5 --train-gt=lmdb-real1_users3_convex-gt3 --expectation --location --objectness --constraint --classes --display=1 --gpu=2 3 | -------------------------------------------------------------------------------- /whats-the-point-2016/scripts/2012/real1-users3.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | python solve.py --year=2012 --output=real1-users3 --lr=1e-5 --train-gt=lmdb-real1_users3-gt3 --expectation --location --objectness --constraint --classes --display=1 --gpu=2 3 | -------------------------------------------------------------------------------- /whats-the-point-2016/scripts/2012/siftflow-fs.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | python solve.py --year=2012 --output=siftflow-fs --lr=1e-10 --siftflow --train-gt=lmdb-fs-gt1 --val-gt=lmdb-fs-gt1 --display=1 --gpu=0 3 | -------------------------------------------------------------------------------- /whats-the-point-2016/scripts/2012/siftflow-labels-cls-con.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | python solve.py --year=2012 --output=siftflow-labels-cls-con --lr=1e-5 --train-gt=lmdb-real1-gt3 --expectation --constraint --classes --siftflow --display=1 --gpu=3 3 | -------------------------------------------------------------------------------- /whats-the-point-2016/scripts/2012/siftflow-real1-click1-cls-con.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | python solve.py --year=2012 --output=siftflow-real1-click1-cls-con --lr=1e-5 --train-gt=lmdb-real1-gt3 --val-gt=lmdb-real1-gt3 --expectation --constraint --classes --location --siftflow --display=1 --gpu=2 3 | -------------------------------------------------------------------------------- /whats-the-point-2016/scripts/2012/user-clicks-constraint.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | python solve.py --year=2012 --output=user-clicks-constraint --lr=1e-5 --train-gt=lmdb-real1-gt3 --expectation --location --constraint --gpu=2 --display=1 3 | -------------------------------------------------------------------------------- /whats-the-point-2016/scripts/2012/user-clicks-objectness-constraint.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | python solve.py --year=2012 --output=user-clicks-objectness-constraint --lr=1e-5 --train-gt=lmdb-real1-gt3 --expectation --location --objectness --constraint --gpu=1 --display=1 3 | -------------------------------------------------------------------------------- /whats-the-point-2016/scripts/2012/user-clicks-objectness.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | python solve.py --year=2012 --output=user-clicks-objectness --lr=1e-5 --train-gt=lmdb-real1-gt3 --expectation --location --objectness --gpu=2 --display=1 3 | -------------------------------------------------------------------------------- /whats-the-point-2016/scripts/2012/user-clicks.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | python solve.py --year=2012 --output=user-clicks --lr=1e-5 --train-gt=lmdb-real1-gt3 --expectation --location --gpu=2 --display=1 3 | 4 | -------------------------------------------------------------------------------- /whats-the-point-2016/scripts/README.md: -------------------------------------------------------------------------------- 1 | These scripts are all just examples of how to run [``../code/solve.py``](https://github.com/abearman/whats-the-point1/blob/master/whats-the-point-2016/code/solve.py) with different arguments. You will have to change the file paths in order to run them. 2 | --------------------------------------------------------------------------------