1import opensportslib
2print("OpenSportsLib imported successfully")
1from opensportslib.apis import LocalizationModel
2
3my_model = LocalizationModel(
4 config="/path/to/localization.yaml",
5👉 weights="OpenSportsLab/OSL-loc-snbas-2023-e2e",
6)
7
8predictions = my_model.infer(
9 test_set="/path/to/test.json",
10)
11
12saved_predictions = my_model.save_predictions(
13 output_path="/path/to/predictions.json",
14 predictions=predictions,
15)
16
17metrics = my_model.evaluate(
18 test_set="/path/to/test.json",
19 predictions=saved_predictions,
20)
21
22print(metrics)
-
Open source license: AGPL 3.0 for research, academic, and community use.
-
Commercial license: For proprietary or commercial deployment, please contact the project maintainers.
@misc{opensportslib_e2e_localization_snbas_2023,
title={OpenSportsLib Localization E2E SNBAS 2023},
author={OpenSportsLab},
year={2026},
howpublished={https://huggingface.co/OpenSportsLab/oslib-e2e-localization-snbas-2023}
}