AtomScott / TeamTrack

TeamTrack: An Algorithm and Benchmark Dataset for Multi-Sport Multi-Object Tracking in Full-pitch Videos
https://atomscott.github.io/TeamTrack/
MIT License
45 stars 1 forks source link

No module named 'soccertrack' #3

Open zhengyang1835 opened 4 months ago

zhengyang1835 commented 4 months ago

Dear sir, I am trying to use your repository to examine the performance of the tracking inference. However, when I followed your instructions to run python scripts/benchmark/yolov8/botsort/test.py --config scripts/benchmark/yolov8/botsort/test.yaml, I met the error: File "/home/zyli/TeamTrack/scripts/benchmark/yolov8/botsort/test.py", line 7, in from soccertrack.logger import logger ModuleNotFoundError: No module named 'soccertrack' I tried to find the module soccertrack, but I cannot locate it in your repository or on the Internet. I wonder if you can solve this issue. Thanks! Kind regards

AtomScott commented 4 months ago

Thank you for bringing this to our attention. The error you're encountering is due to a recent package name change that wasn't fully reflected in all parts of the codebase. The package was originally called 'soccertrack' but has been renamed to 'sportslabkit'. To resolve this issue, please try the following:

Open the file /home/zyli/TeamTrack/scripts/benchmark/yolov8/botsort/test.py Locate the line that says: from soccertrack.logger import logger Change it to: from sportslabkit.logger import logger

After making this change, try running the script again. If you encounter any further issues, please let me know, and I'll investigate the problem in more depth.

Additionally, ensure that you have the latest version of the 'sportslabkit' package installed in your environment.