Comments (13)
That's the same command I used. Obviously have to get access to the model inside the mlpackage, so that could be the issue.
It does feel like there is a permission issue. I'd be happy to set up a time to Zoom and show you the issue if that would work for you.
from rectlabel-support.
We exported the coreml model using the latest YOLOv8.
pip install ultralytics
yolo segment export model=yolov8n-seg.pt format=coreml
In our environment we could load the coreml model without an error. Could you give us a hint to reproduce the problem in our environment?
I do have the same problem but with a custom trained model based on yolov8 I've trained on Google Colab and export it. First I also tried to convert the ".pt" into the ".mlmodel" with no custom training that loads without any problem.
When I load the custom trained one the program directly crashes when I clicked on "auto labeling" after loading the custom trained model "best.mlmodel".
Do you have any clue what I could try and what information you need to help me?
from rectlabel-support.
Ah okay. I trained the model on detection instead of segmentation. Could that be a problem?
I will try it later this week with training it on segmentation.
from rectlabel-support.
from rectlabel-support.
Thanks for writing the issue.
When you launch RectLabel, RectLabel tries to read the settings file.
~/Library/Containers/com.waysify.roi/Data/settings_labels.json
Based on the error dialog, it might be that RectLabel does not have enough permission to read/write on your computer.
Coud you check the permission of RectLabel app?
from rectlabel-support.
Thanks for looking at this
The directory is 700 and the file is 644. Setting both to 777 makes no difference. All files/dirs owned by my user.
from rectlabel-support.
We exported the coreml model using the latest YOLOv8.
pip install ultralytics
yolo segment export model=yolov8n-seg.pt format=coreml
In our environment we could load the coreml model without an error.
Could you give us a hint to reproduce the problem in our environment?
from rectlabel-support.
Thanks for writing the issue.
Could you share the detailed situation to reproduce the problem?
In our environment, the ultralytics version is 8.0.176.
pip install -U ultralytics
Using our fish-dataset, we trained the YOLOv8 segmentation model.
yolo segment train data=fish.yaml model=yolov8n-seg.pt epochs=100 imgsz=640
And, export the best.pt to the best.mlpackage file.
yolo export model=best.pt format=coreml
Using the latest RectLabel version 2023.09.12, we can load the best.mlpackage file and process the image to obtain the detected polygons.
from rectlabel-support.
I am using an M1 MacBook Air. Is Apple Silicon a problem?
from rectlabel-support.
We checked on the Apple M1 MacBook Pro device.
Using our fish-dataset-detection, we trained the YOLOv8 detection model.
yolo detect train data=fish-detection.yaml model=yolov8n.pt epochs=100 imgsz=640
And, export the best.pt to the best.mlpackage file.
yolo export model=best.pt format=coreml
Using the latest RectLabel version 2023.09.12, we can load the best.mlpackage file and process the image to obtain the detected bounding boxes.
from rectlabel-support.
For the permission issue, could you try deleting cache files?
https://rectlabel.com/help#troubleshooting
- The cache files path is one of the paths below.
~/Library/Containers/RectLabel
~/Library/Containers/com.waysify.roi
~/Library/Containers/com.waysify.roi.vpp - Backup the settings file "the_cache_files_path/Data/settings_labels.json".
- Delete the cache files.
- Clean up the trash box and launch RectLabel.
For the crash issue, could you copy and paste the crash message to this page or send an email to [email protected]?
from rectlabel-support.
The new version 2023.09.27 was released.
Fixed the crash when you run YOLOv8 models trained using except imgsz=640.
Please let us know your opinion.
from rectlabel-support.
Currently If you need our support to fix this problem, please let us know.
from rectlabel-support.
Related Issues (20)
- RectLabel implemented Segment Anything models to label polygons. HOT 2
- Multiple CoreML application HOT 2
- Image Label / Gallery View HOT 2
- yolov8 text import not working correctly HOT 5
- Exporting Yolo includes 6th column with confidence score I would assume, can we turn this off? HOT 4
- Getting no label file with if ann['iscrowd']: continue statement. HOT 3
- 下载Sam失败 HOT 2
- [Video] can't create images HOT 7
- Current image annotations lost when exporting Create ML JSON HOT 8
- coco2yolo error HOT 1
- crashes on next image/prev image (arrow keys) HOT 3
- Problems with creating polygon with SAM using geo TIF files HOT 2
- Feature Feedback and Launch Inquiry for Windows and Linux systems HOT 1
- Key Error showing up in training HOT 3
- Conversion of annotations from COCO-annotator to yolov8 format HOT 6
- how to save SAM label HOT 3
- keypoints labeling problem HOT 6
- how to show label again after moving files HOT 4
- Create folder error HOT 3
- Hyphen in object names causes Alert on "Export COCO JSON file" HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rectlabel-support.