Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No module named 'soccertrack' #3

Open
zhengyang1835 opened this issue Jul 17, 2024 · 1 comment
Open

No module named 'soccertrack' #3

zhengyang1835 opened this issue Jul 17, 2024 · 1 comment

Comments

@zhengyang1835
Copy link

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
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants