question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error during calibration

See original GitHub issue

Hi,

when using anipose calibrate I get following error. “detections.pickle” file is created in calibration folder. When I use anipose label-3d after this it shows message “Labeling videos in 3D…” but nothing happens. Nothing is created and there is no error message.

(dlc-windowsGPUclone) D:\Anipose\Test>anipose calibrate Calibrating... D:\Anipose\Test\Iteration1\calibration\calibration.toml Traceback (most recent call last): File "c:\programdata\anaconda3\envs\dlc-windowsgpuclone\lib\runpy.py", line 193, in _run_module_as_main "__main__", mod_spec) File "c:\programdata\anaconda3\envs\dlc-windowsgpuclone\lib\runpy.py", line 85, in _run_code exec(code, run_globals) File "C:\ProgramData\Anaconda3\envs\dlc-windowsGPUclone\Scripts\anipose.exe\__main__.py", line 9, in <module> File "c:\programdata\anaconda3\envs\dlc-windowsgpuclone\lib\site-packages\click\core.py", line 764, in __call__ return self.main(*args, **kwargs) File "c:\programdata\anaconda3\envs\dlc-windowsgpuclone\lib\site-packages\click\core.py", line 717, in main rv = self.invoke(ctx) File "c:\programdata\anaconda3\envs\dlc-windowsgpuclone\lib\site-packages\click\core.py", line 1137, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "c:\programdata\anaconda3\envs\dlc-windowsgpuclone\lib\site-packages\click\core.py", line 956, in invoke return ctx.invoke(self.callback, **ctx.params) File "c:\programdata\anaconda3\envs\dlc-windowsgpuclone\lib\site-packages\click\core.py", line 555, in invoke return callback(*args, **kwargs) File "c:\programdata\anaconda3\envs\dlc-windowsgpuclone\lib\site-packages\click\decorators.py", line 64, in new_func return ctx.invoke(f, obj, *args, **kwargs) File "c:\programdata\anaconda3\envs\dlc-windowsgpuclone\lib\site-packages\click\core.py", line 555, in invoke return callback(*args, **kwargs) File "c:\programdata\anaconda3\envs\dlc-windowsgpuclone\lib\site-packages\anipose\anipose.py", line 105, in calibrate calibrate_all(config) File "c:\programdata\anaconda3\envs\dlc-windowsgpuclone\lib\site-packages\anipose\common.py", line 165, in fun return process_all(config, process_session, **args) File "c:\programdata\anaconda3\envs\dlc-windowsgpuclone\lib\site-packages\anipose\common.py", line 150, in process_all output[past_folders] = process_session(config, path, **args) File "c:\programdata\anaconda3\envs\dlc-windowsgpuclone\lib\site-packages\anipose\calibrate.py", line 182, in process_session n_samp_iter=100, n_samp_full=2000) File "c:\programdata\anaconda3\envs\dlc-windowsgpuclone\lib\site-packages\calligator\cameras.py", line 1544, in calibrate_rows all_rows[i] = board.estimate_pose_rows(cam, row) File "c:\programdata\anaconda3\envs\dlc-windowsgpuclone\lib\site-packages\calligator\boards.py", line 333, in estimate_pose_rows row['ids']) File "c:\programdata\anaconda3\envs\dlc-windowsgpuclone\lib\site-packages\calligator\boards.py", line 611, in estimate_pose_points corners, ids, self.board, K, D) TypeError: Required argument 'rvec' (pos 6) not found

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
KonradDanielewskicommented, Oct 22, 2019

Hello, this solved it. Calibration works now. Thank you

0reactions
lambdaloopcommented, Oct 22, 2019

Hi @KonradDanielewski , I reproduced your error! Turns out that I implicitly assume opencv-contrib of version 3, but I think you have version 4 installed.

Try running this to get the right version of opencv-contrib: pip install opencv-contrib-python~=3.4

You may also need to downgrade opencv-python: pip install opencv-python~=3.4

I’ve updated calligator to require the specific version of opencv

Read more comments on GitHub >

github_iconTop Results From Across the Web

Calibration Errors and Testing | Basic Principles of Instrument ...
In practice, most calibration errors are some combination of zero, span, linearity, and hysteresis problems. An important point to remember is that with...
Read more >
Error sources creating uncertainty in Calibration - Inst Tools
It may arise due to the loading effect, improper selection of the sensor or the filter cut off frequency. Systematic errors can be...
Read more >
Possible Instrument Calibration Errors - Ways to Minimize
This error occurs when a technician mishandles a lab instrument when the lab equipment shows a non-zero output during no load. A tool...
Read more >
What are the most frequent causes of calibration problems?
The following three problems occur most often during calibration: Zero calibration error; Electrode slope too low; Slow response, for example, longer than 3 ......
Read more >
Calibration Error (CE Definition | Law Insider
Calibration Error (CE means the mean difference between the concentration measured by the CEMS and the known concentration from a calibration standard, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found