# Why can't i use yolov8-seg weights downloaded from Roboflow for inference on my PC?

**URL:** https://discuss.roboflow.com/t/why-cant-i-use-yolov8-seg-weights-downloaded-from-roboflow-for-inference-on-my-pc/11516
**Category:** 🤝  Community Help
**Tags:** segmentation
**Created:** [December 3, 2025, 7:36am UTC](https://discuss.roboflow.com/t/why-cant-i-use-yolov8-seg-weights-downloaded-from-roboflow-for-inference-on-my-pc/11516 "2025-12-03T07:36:58Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![NgocTrang](https://yyz1.discourse-cdn.com/flex029/user_avatar/discuss.roboflow.com/ngoctrang/32/8757_2.png) [@NgocTrang](https://discuss.roboflow.com/u/NgocTrang)
#### Post date: [December 3, 2025, 7:36am UTC](https://discuss.roboflow.com/t/why-cant-i-use-yolov8-seg-weights-downloaded-from-roboflow-for-inference-on-my-pc/11516/1 "2025-12-03T07:36:58Z")

</div>

I trained the instance segmentation model on Roboflow and downloaded the weight from that project. But I can not use it to call inference with YOLOv8 Segmentation model in Ultralytics, it gives the following error:

 ![スクリーンショット 2025-12-03 154432](https://canada1.discourse-cdn.com/flex029/uploads/roboflow1/original/2X/9/9978720b89ffbe0a5159e23336875f3568c69161.jpeg)

Meanwhile the weight I downloaded from the ultralytics homepage still works. Before that i downloaded Yolov8 detection model weight from Roboflow to detect object successfully.

It seems like Roboflow exports the segmentation model with a slightly different structure or pipeline which is causing some parts of Ultralytics to not recognize it correctly? Or is the error due to some other reason? Please help me!

- **Project Type:** Object dSegmentation
- **Operating System & Browser:** Linux
- **Project Universe Link or Workspace/Project ID:** danger\_segmentation-vps6t

---

<div class="post-metadata">

### Author: ![Patrick\_Nihranz](https://yyz1.discourse-cdn.com/flex029/user_avatar/discuss.roboflow.com/patrick_nihranz/32/8829_2.png) [@Patrick\_Nihranz](https://discuss.roboflow.com/u/Patrick_Nihranz)
#### Post date: [December 12, 2025, 4:07pm UTC](https://discuss.roboflow.com/t/why-cant-i-use-yolov8-seg-weights-downloaded-from-roboflow-for-inference-on-my-pc/11516/2 "2025-12-12T16:07:49Z")

</div>

Hi NgocTrang!

I think the issue you are running into here is that there is a version mismatch between the version of Ultralytics used to train the model on Roboflow and the version you have locally. I would suggest to check the version of Ultralytics you are running and then check the model info to determine if there is a mismatch. should just be print(model.info())

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex029/uploads/roboflow1/original/1X/bb6edbfa56d0cf2ee603f061e9e09103502cc8cc.png) [@system](https://discuss.roboflow.com/u/system)
#### Post date: [December 19, 2025, 4:08pm UTC](https://discuss.roboflow.com/t/why-cant-i-use-yolov8-seg-weights-downloaded-from-roboflow-for-inference-on-my-pc/11516/3 "2025-12-19T16:08:15Z")

</div>

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
