Skip to content

Commit

Permalink
Update path to the model
Browse files Browse the repository at this point in the history
  • Loading branch information
HonzaCuhel committed Jan 16, 2025
1 parent 1218c94 commit fe49f63
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_conversion.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@

def test_automatic_version_detection():
"""Test the autodetection of the model version."""
assert detect_version("yolov8n.pt") == "yolov8"
assert detect_version("tests/yolov8n.pt") == "yolov8"


def test_model_conversion():
"""Test the conversion of a model."""
exporter = YoloV8Exporter("yolov8n.pt", (416, 416), True)
exporter = YoloV8Exporter("tests/yolov8n.pt", (416, 416), True)
exporter.export_onnx()
exporter.export_nn_archive()

Expand Down

0 comments on commit fe49f63

Please sign in to comment.