Skip to content

Commit

Permalink
remove TODO. see coco/convert_to_pascalformat.py for converting COCO …
Browse files Browse the repository at this point in the history
…JSON annotations to PASCAL xml version. see test/coco_dpm_test.m for using pre-trained PASCAL models for evaluating on COCO images and output the correct COCO result format.
  • Loading branch information
tylin committed Mar 24, 2015
1 parent 4a5b3ac commit 90ad613
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
7 changes: 0 additions & 7 deletions test/pascal_test.m
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@
% We also save the bounding boxes of each filter (include root filters)
% and the unclipped detection window in ds

% ===================================================================
% TODO change the code for loading images for testing
% ===================================================================
conf = voc_config('pascal.year', year, ...
'eval.test_set', testset);
VOCopts = conf.pascal.VOCopts;
Expand Down Expand Up @@ -86,10 +83,6 @@
ds = ds_out;
bs = bs_out;

% ===================================================================
% TODO add a different file to save detection result in COCO format
% TODO The fortmat: {"image_id": int, "category_id": int, "bbox": [x, y, w, h]}
% ===================================================================
save([cachedir cls '_boxes_' testset '_' suffix], ...
'ds', 'bs', 'th');
fprintf('Testing took %.4f seconds\n', th);
Expand Down
3 changes: 0 additions & 3 deletions train/pascal_train.m
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,6 @@
cachedir = conf.paths.model_dir;

% Load the training data
% ==================================================================
% TODO modify pascal_data function
% ==================================================================
[pos, neg, impos] = pascal_data(cls, conf.pascal.year);

% Split foreground examples into n groups by aspect ratio
Expand Down

0 comments on commit 90ad613

Please sign in to comment.