Hello,
I've been having an issue running the anipose calibrate command. I am using a Conda environment that can run DeepLabCut, on Ubuntu 18.04. When trying to run anipose calibrate I get the following error:
(dlc-anipose) hank-x299@hank-x299:~/src/dlc-utils/examples/beetlepose$ anipose calibrate
Calibrating...
/home/hank-x299/src/dlc-utils/examples/beetlepose/test_1_no_motor
Traceback (most recent call last):
File "/home/hank-x299/anaconda3/envs/dlc-anipose/bin/anipose", line 11, in <module>
load_entry_point('anipose', 'console_scripts', 'anipose')()
File "/home/hank-x299/anaconda3/envs/dlc-anipose/lib/python3.6/site-packages/click/core.py", line 764, in __call__
return self.main(*args, **kwargs)
File "/home/hank-x299/anaconda3/envs/dlc-anipose/lib/python3.6/site-packages/click/core.py", line 717, in main
rv = self.invoke(ctx)
File "/home/hank-x299/anaconda3/envs/dlc-anipose/lib/python3.6/site-packages/click/core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/hank-x299/anaconda3/envs/dlc-anipose/lib/python3.6/site-packages/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/hank-x299/anaconda3/envs/dlc-anipose/lib/python3.6/site-packages/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "/home/hank-x299/anaconda3/envs/dlc-anipose/lib/python3.6/site-packages/click/decorators.py", line 64, in new_func
return ctx.invoke(f, obj, *args, **kwargs)
File "/home/hank-x299/anaconda3/envs/dlc-anipose/lib/python3.6/site-packages/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "/home/hank-x299/src/anipose/anipose/anipose.py", line 115, in calibrate
calibrate_all(config)
File "/home/hank-x299/src/anipose/anipose/common.py", line 168, in fun
return process_all(config, process_session, **args)
File "/home/hank-x299/src/anipose/anipose/common.py", line 153, in process_all
output[past_folders] = process_session(config, path, **args)
File "/home/hank-x299/src/anipose/anipose/calibrate.py", line 126, in process_session
name = get_cam_name(config, vid)
File "/home/hank-x299/src/anipose/anipose/common.py", line 72, in get_cam_name
name = match.groups()[0]
IndexError: tuple index out of range
Hello, I've been having an issue running the
anipose calibrate
command. I am using a Conda environment that can run DeepLabCut, on Ubuntu 18.04. When trying to runanipose calibrate
I get the following error:My file structure is as follows:
My
config.toml
file looks like so:Given the above, why might I be getting
IndexError: tuple index out of range
? Thanks!