ultralytics 8.0.54
TFLite export improvements and fixes (#1447)
Co-authored-by: Laughing <61612323+Laughing-q@users.noreply.github.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
@ -207,9 +207,9 @@ def test_predict_callback_and_setup():
|
||||
def test_result():
|
||||
model = YOLO('yolov8n-seg.pt')
|
||||
res = model([SOURCE, SOURCE])
|
||||
res[0].cpu().numpy()
|
||||
res[0].plot(show_conf=False)
|
||||
print(res[0].path)
|
||||
res[0] = res[0].cpu().numpy()
|
||||
print(res[0].path, res[0].masks.masks)
|
||||
|
||||
model = YOLO('yolov8n.pt')
|
||||
res = model(SOURCE)
|
||||
|
Reference in New Issue
Block a user