s-gupta / rcnn-depth

Learning Rich Features from RGB-D Images for Object Detection and Segmentation
BSD 2-Clause "Simplified" License
365 stars 150 forks source link

How to test on only a couple of images from the test set? #34

Open manyaafonso opened 7 years ago

manyaafonso commented 7 years ago

I am trying to test on a couple of examples from the NYU set.

I add the line test_data.imlist = test_data.imlist(1:2); after test_data = struct('dataType', 'test', 'imlist', {getImageSet('test')}, ... 'image_dir', fullfile(c.dataDir, 'images', filesep()), ... 'dep_dir', fullfile(c.dataDir, 'depth', filesep()), ... 'ground_truth_dir', fullfile(c.benchmarkGtDir, filesep()), 'ext', 'png', ... 'res_dir', fullfile(p.contours_model_dir, 'test', 'modelNyuRgbd-3')); in script_edges.m and then run at the prompt: clear; jobName = 'test_edge_model'; script_edges;

But this runs for a really long time inspite of being just two images, and I have to eventually use a control+c to end it.

What am I missing?