[go: up one dir, main page]

How to find trajectory files after using "--number_of_animals=0" and "tracking_wo_identification = true"?

After setting --number_of_animals=0 and tracking_wo_identification = true in command: idtrackerai --video_paths ./test.mp4 --track --number_of_animals 0 --track_wo_identities True --intensity_ths 0 70 --area_ths 50 60000 --session TEST, tried to use idtrackerai_video TEST to make a video from the previous command result.

But in the log encountered an error stating that the trajectory files could not be found. The error is as follows:

‍‍‍‍CRITICAL Could not find the trajectory file in /content/session_TEST/trajectories                                  init_logger.py:73
                  Traceback (most recent call last):                                                                                                  
                    File "/usr/local/lib/python3.10/dist-packages/idtrackerai/utils/init_logger.py", line 68, in applicator                           
                      return main_function(*args, **kwargs)                                                                                           
                    File "/usr/local/lib/python3.10/dist-packages/idtrackerai_video/main.py", line 71, in main                                        
                      generate_trajectories_video(                                                                                                    
                    File "/usr/local/lib/python3.10/dist-packages/idtrackerai_video/general_video.py", line 121, in                                   
                  generate_trajectories_video                                                                                                         
                      raise FileNotFoundError(                                                                                                        
                  FileNotFoundError: Could not find the trajectory file in /content/session_TEST

Any idea how to fix this issue?