Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Zahra Rajabi
rcnn
Commits
4e2b4996
Commit
4e2b4996
authored
Mar 14, 2014
by
Ross Girshick
Browse files
add missing cache directory; bug fix in get_voc_opts.m so that it works with the VOC 2007 devkit
parent
2e99211e
Changes
2
Hide whitespace changes
Inline
Side-by-side
imdb/cache/README.md
0 → 100644
View file @
4e2b4996
imdb/get_voc_opts.m
View file @
4e2b4996
function VOCopts = get_voc_opts(path)
tmp = pwd;
voc_code_path = fullfile(path, 'VOCcode');
cd(voc_code_path);
cd(path);
try
VOCinit; % brings VOCopts into scope
addpath('VOCcode');
VOCinit;
catch
rmpath('VOCcode');
cd(tmp);
error(sprintf('VOCcode directory not found
at
%s',
voc_code_
path));
error(sprintf('VOCcode directory not found
under
%s', path));
end
rmpath('VOCcode');
cd(tmp);
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment