Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot run with OTB2015 #3

Open
apozop opened this issue Dec 11, 2018 · 2 comments
Open

Cannot run with OTB2015 #3

apozop opened this issue Dec 11, 2018 · 2 comments

Comments

@apozop
Copy link

apozop commented Dec 11, 2018

Hello,

I was trying to run your code on the OTB2015 database and I obtained an error on line

mask_search_window(target_h, target_w) = target_mask;

I think it is caused by the target size being resized to the initial scale:

% Calculate search area and initial scale factor
search_area = prod(init_target_sz * params.search_area_scale);
if search_area > params.max_image_sample_size
currentScaleFactor = sqrt(search_area / params.max_image_sample_size);
elseif search_area < params.min_image_sample_size
currentScaleFactor = sqrt(search_area / params.min_image_sample_size);
else
currentScaleFactor = 1.0;
end

% target size at the initial scale
base_target_sz = target_sz / currentScaleFactor`

However, the target_mask is never resized to this scale.

Thank you for your help

@XU-TIANYANG
Copy link
Owner

@apozop , this LADCF_VOT is used for VOT toolkit. if you want to run on OTB benchmark, you can try https://github.com/XU-TIANYANG/LADCF.

@apozop
Copy link
Author

apozop commented Dec 11, 2018

Thank you for your answer.

I already run that code, but I wanted to compare the results with deep features. According to what I saw that repository only included the code with hand-crafted features.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants