single-view-autocalib
single-view-autocalib copied to clipboard
Error while running
Hello,
I am using matlab R2021b Update 3 (9.11.0.1873467) and tried to run autocalib_test.m. I have also installed necessary add-on (Optimization Toolbox and Statistics and Machine Learning Toolbox) I get the following error:
Error using MapNested/subsref (line 243)
Something went wrong in indexing: key ' ' is not a key
Error in LabelSampler.sample_token (line 97)
s_ = mnrnd_without_repeat(numel(x),pmap_(x(1)),1);
Error in LabelSampler/sample (line 70)
LabelSampler.sample_token(...
Error in HybridSampler/sample (line 86)
this.sampler_list{solver_idx}.sample(meas, varargin);
Error in HybridRansac/fit (line 55)
[solver_idx,idx,stats.trial_count] = this.sampler.sample(meas);
Error in autocalib (line 142)
[model,res,stats] = ransac.fit(meas_norm,varinput_norm);
Error in autocalib_test (line 17)
autocalib(img_path, solvers, priors, [], [], cfg{:});
Kindly assist. Thank you.