Comments (5)
Hi,
I got same error when I run anipose calibrate.
(Anipose) C:\Users\jjw\Desktop\Anipose3D\hand-demo-unfilled>anipose calibrate
Calibrating...
C:\Users\jjw\Desktop\Anipose3D\hand-demo-unfilled\summaries
C:\Users\jjw\Desktop\Anipose3D\hand-demo-unfilled\2019-08-02
C:\Users\jjw\Desktop\Anipose3D\hand-demo-unfilled\2019-08-02\calibration\calibration.toml
C:\Users\jjw\Desktop\Anipose3D\hand-demo-unfilled\2019-08-02\calibration\calib-charuco-camA.MOV
100%|█████████████████████████████| 5274/5274 [04:24<00:00, 19.96it/s]
5274 boards detected
C:\Users\jjw\Desktop\Anipose3D\hand-demo-unfilled\2019-08-02\calibration\calib-charuco-camB.MOV
100%|█████████████████████████████| 5264/5264 [04:13<00:00, 20.76it/s]
4986 boards detected
C:\Users\jjw\Desktop\Anipose3D\hand-demo-unfilled\2019-08-02\calibration\calib-charuco-camC.MOV
100%|█████████████████████████████| 5265/5265 [03:55<00:00, 22.36it/s]
4724 boards detected
defaultdict(<class 'int'>, {('A', 'B'): 4937, ('B', 'A'): 4937})
Traceback (most recent call last):
File "c:\users\jjw\anaconda3\envs\anipose\lib\runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "c:\users\jjw\anaconda3\envs\anipose\lib\runpy.py", line 85, in run_code
exec(code, run_globals)
File "C:\Users\jjw\anaconda3\envs\Anipose\Scripts\anipose.exe_main.py", line 7, in
File "c:\users\jjw\anaconda3\envs\anipose\lib\site-packages\click\core.py", line 829, in call
return self.main(*args, **kwargs)
File "c:\users\jjw\anaconda3\envs\anipose\lib\site-packages\click\core.py", line 782, in main
rv = self.invoke(ctx)
File "c:\users\jjw\anaconda3\envs\anipose\lib\site-packages\click\core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "c:\users\jjw\anaconda3\envs\anipose\lib\site-packages\click\core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "c:\users\jjw\anaconda3\envs\anipose\lib\site-packages\click\core.py", line 610, in invoke
return callback(*args, **kwargs)
File "c:\users\jjw\anaconda3\envs\anipose\lib\site-packages\click\decorators.py", line 73, in new_func
return ctx.invoke(f, obj, *args, **kwargs)
File "c:\users\jjw\anaconda3\envs\anipose\lib\site-packages\click\core.py", line 610, in invoke
return callback(*args, **kwargs)
File "c:\users\jjw\anaconda3\envs\anipose\lib\site-packages\anipose\anipose.py", line 116, in calibrate
calibrate_all(config)
File "c:\users\jjw\anaconda3\envs\anipose\lib\site-packages\anipose\common.py", line 168, in fun
return process_all(config, process_session, **args)
File "c:\users\jjw\anaconda3\envs\anipose\lib\site-packages\anipose\common.py", line 153, in process_all
output[past_folders] = process_session(config, path, **args)
File "c:\users\jjw\anaconda3\envs\anipose\lib\site-packages\anipose\calibrate.py", line 203, in process_session
verbose=True)
File "c:\users\jjw\anaconda3\envs\anipose\lib\site-packages\aniposelib\cameras.py", line 1563, in calibrate_rows
rvecs, tvecs = get_initial_extrinsics(rtvecs)
File "c:\users\jjw\anaconda3\envs\anipose\lib\site-packages\aniposelib\utils.py", line 173, in get_initial_extrinsics
pairs = find_calibration_pairs(graph, source=0)
File "c:\users\jjw\anaconda3\envs\anipose\lib\site-packages\aniposelib\utils.py", line 156, in find_calibration_pairs
for new in graph[item]:
TypeError: 'NoneType' object is not subscriptable
from anipose.
I've been having the same problem (see Issue #49). In the other issue we noted that we are all using Windows 10/Anaconda setups.
from anipose.
@omeleavitt Guessing you meant to link to issue #48 ? I will investigate the problem on that issue for now and see if there are any clues
from anipose.
Hello,
I think I am having the same problem. Is there any update?
(Anipose-GPU) G:\Group2>anipose calibrate
Calibrating...
G:\Group2\week10
G:\Group2\week10\calibration\calibration.toml
G:\Group2\week10\calibration\cal2_20210208001_cam2.avi
100%|███████████████████████████████| 434/434 [00:21<00:00, 19.76it/s]
3 boards detected
G:\Group2\week10\calibration\cal2_20210208001_cam3.avi
100%|███████████████████████████████| 434/434 [00:26<00:00, 16.14it/s]
37 boards detected
defaultdict(<class 'int'>, {})
Traceback (most recent call last):
File "f:\programdata\anaconda\envs\anipose-gpu\lib\runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "f:\programdata\anaconda\envs\anipose-gpu\lib\runpy.py", line 85, in run_code
exec(code, run_globals)
File "F:\ProgramData\Anaconda\envs\Anipose-GPU_Sawako\Scripts\anipose.exe_main.py", line 7, in
File "f:\programdata\anaconda\envs\anipose-gpu\lib\site-packages\click\core.py", line 829, in call
return self.main(*args, **kwargs)
File "f:\programdata\anaconda\envs\anipose-gpu\lib\site-packages\click\core.py", line 782, in main
rv = self.invoke(ctx)
File "f:\programdata\anaconda\envs\anipose-gpu\lib\site-packages\click\core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "f:\programdata\anaconda\envs\anipose-gpu\lib\site-packages\click\core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "f:\programdata\anaconda\envs\anipose-gpu\lib\site-packages\click\core.py", line 610, in invoke
return callback(*args, **kwargs)
File "f:\programdata\anaconda\envs\anipose-gpu\lib\site-packages\click\decorators.py", line 73, in new_func
return ctx.invoke(f, obj, *args, **kwargs)
File "f:\programdata\anaconda\envs\anipose-gpu\lib\site-packages\click\core.py", line 610, in invoke
return callback(*args, **kwargs)
File "f:\programdata\anaconda\envs\anipose-gpu\lib\site-packages\anipose\anipose.py", line 116, in calibrate
calibrate_all(config)
File "f:\programdata\anaconda\envs\anipose-gpu\lib\site-packages\anipose\common.py", line 168, in fun
return process_all(config, process_session, **args)
File "f:\programdata\anaconda\envs\anipose-gpu\lib\site-packages\anipose\common.py", line 153, in process_all
output[past_folders] = process_session(config, path, **args)
File "f:\programdata\anaconda\envs\anipose-gpu\lib\site-packages\anipose\calibrate.py", line 203, in process_session
verbose=True)
File "f:\programdata\anaconda\envs\anipose-gpu\lib\site-packages\aniposelib\cameras.py", line 1563, in calibrate_rows
rvecs, tvecs = get_initial_extrinsics(rtvecs)
File "f:\programdata\anaconda\envs\anipose-gpu\lib\site-packages\aniposelib\utils.py", line 173, in get_initial_extrinsics
pairs = find_calibration_pairs(graph, source=0)
File "f:\programdata\anaconda\envs\anipose-gpu\lib\site-packages\aniposelib\utils.py", line 156, in find_calibration_pairs
for new in graph[item]:
TypeError: 'NoneType' object is not subscriptable
from anipose.
What ended up working for me was making sure there were detections that overlapped between at least enough pairs of cameras such that each was included. To do this, I simply ran the code for calibration in the tutorial for aniposelib (copied into Spyder). Then I edited the list of videos such that it only did two at a time. The subsequent code is looking for a list of frames of the videos where the calibration board is shared between cameras.
from anipose.
Related Issues (20)
- Perfect calibration
- Reverse triangulation HOT 3
- Error with Anipose Label-3d command HOT 6
- label-3d video upside down HOT 4
- Issue with 'anipose calibrate' step during hand tutorial
- Why does the command anipose label-3d-filter only display 3d annotated videos? ... But there is no result output. HOT 2
- Issue with anipose analyze: 'device_spec' HOT 4
- Triangulation Gaps in Unfilled Demo
- ERROR in using Anipose Analyze
- Calibrate delivering widely different results from the same detections HOT 8
- anipose calibrate HOT 4
- Error in Calibration HOT 2
- How to Utilize GPU for Anipose HOT 1
- Anipose Label-3D 'traitsui.toolkits'
- Anipose tutorial
- error in anipose filter command if turn [filter] parameter for 'True' HOT 4
- anipose label-3d slows down after the first video
- How to use Sleap 2D coordinates output with Anipose HOT 2
- draw-calibration returns a different pattern HOT 1
- I encountered the following problem when performing the anipose filter step. It was still running successfully a month ago
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from anipose.