idtrackerai --load 2023_06_30_zusammenhängende_blobs_erlaubt.toml --settings settings.toml --track
Error message(MiceMetrics) PS C:\Users\gewis\Downloads\MiceMetrics\idtracker> idtrackerai --load 2023_06_30_zusammenhängende_blobs_erlaubt.toml --settings settings.toml --track
12:08:14 INFO Welcome to
idtracker.ai init_logger.py:55
DEBUG Running
idtracker.ai '5.1.6' on Python '3.11.0' init_logger.py:56
Platform: 'Windows-10-10.0.22621-SP0'
Date: 2023-07-05 12:08:14
INFO Writing log in C:\Users\gewis\Downloads\MiceMetrics\idtracker\idtrackerai.log init_logger.py:62
INFO General settings: __main__.py:58
output_dir = 'C:\\Users\\gewis\\Downloads\\MiceMetrics\\idtracker\\trash'
INFO Session parameters: __main__.py:58
session = 'no_name_0'
video_paths = ['snippets\\01_30fps_1920x1080_15_hell.mp4']
intensity_ths = [0, 40]
area_ths = [330, 10000]
tracking_intervals = None
number_of_animals = 5
use_bkg = False
check_segmentation = False
resolution_reduction = 0.1
track_wo_identities = False
roi_list = ['+ Polygon [[10.0, -5.6], [5.5, 1055.4], [1911.8, 1055.4], [1902.9, -1.2]]']
INFO No terminal arguments detected __main__.py:105
12:08:17 INFO Number of parallel jobs: 2 run_idtrackerai.py:27
INFO Setting 57 keys in ConfParams confparams.py:17
INFO Setting video_paths to: video.py:336
C:\Users\gewis\Downloads\MiceMetrics\idtracker\snippets\01_30fps_1920x1080_15_hell.mp4
INFO The video has 1800 frames (4 episodes) video.py:190
INFO Episode 0, frames (0 => 450) of /01_30fps_1920x1080_15_hell.mp4 video.py:197
INFO Episode 1, frames (450 => 900) of /01_30fps_1920x1080_15_hell.mp4 video.py:197
INFO Episode 2, frames (900 => 1350) of /01_30fps_1920x1080_15_hell.mp4 video.py:197
INFO Episode 3, frames (1350 => 1800) of /01_30fps_1920x1080_15_hell.mp4 video.py:197
ERROR An error occurred, saving data before printing traceback and exiting the program run_idtrackerai.py:144
CRITICAL unsupported operand type(s) for /: 'str' and 'str' init_logger.py:76
Traceback (most recent call last):
File "C:\Users\gewis\Downloads\MiceMetrics\Lib\site-packages\idtrackerai\utils\init_logger.py", line 71, in applicator
return main_function(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\gewis\Downloads\MiceMetrics\Lib\site-packages\idtrackerai_start_app\__main__.py", line 112, in main
return RunIdTrackerAi(parameters).track_video()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\gewis\Downloads\MiceMetrics\Lib\site-packages\idtrackerai_start_app\run_idtrackerai.py", line 149, in track_video
raise error
File "C:\Users\gewis\Downloads\MiceMetrics\Lib\site-packages\idtrackerai_start_app\run_idtrackerai.py", line 80, in track_video
self.video = Video(**self.user_parameters)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\gewis\Downloads\MiceMetrics\Lib\site-packages\idtrackerai\video.py", line 204, in __init__
self.session_folder = (output_dir / f"session_{session.strip()}").resolve()
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
TypeError: unsupported operand type(s) for /: 'str' and 'str'