Instructions to use mayanktak15/yolo8 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- ultralytics
How to use mayanktak15/yolo8 with ultralytics:
# Couldn't find a valid YOLO version tag. # Replace XX with the correct version. from ultralytics import YOLOvXX model = YOLOvXX.from_pretrained("mayanktak15/yolo8") source = 'http://images.cocodataset.org/val2017/000000039769.jpg' model.predict(source=source, save=True) - Notebooks
- Google Colab
- Kaggle
| from src.visualization.trajectory import relative_speed | |
| def test_relative_speed_uses_frame_delta() -> None: | |
| points = [(0, 0.0, 0.0), (2, 6.0, 8.0)] | |
| assert relative_speed(points) == 5.0 | |