Giter Site home page Giter Site logo

Comments (13)

CodeCutterUK avatar CodeCutterUK commented on June 12, 2024 1

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.

Optics avatar Optics commented on June 12, 2024 1

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.

Optics avatar Optics commented on June 12, 2024 1

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.

CodeCutterUK avatar CodeCutterUK commented on June 12, 2024 1

from rectlabel-support.

ryouchinsa avatar ryouchinsa commented on June 12, 2024

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.

CodeCutterUK avatar CodeCutterUK commented on June 12, 2024

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.

ryouchinsa avatar ryouchinsa commented on June 12, 2024

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.

ryouchinsa avatar ryouchinsa commented on June 12, 2024

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

スクリーンショット 2023-09-13 16 35 51

Using the latest RectLabel version 2023.09.12, we can load the best.mlpackage file and process the image to obtain the detected polygons.

スクリーンショット 2023-09-13 16 32 55

from rectlabel-support.

Optics avatar Optics commented on June 12, 2024

I am using an M1 MacBook Air. Is Apple Silicon a problem?

from rectlabel-support.

ryouchinsa avatar ryouchinsa commented on June 12, 2024

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

スクリーンショット 2023-09-13 19 11 56

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.

スクリーンショット 2023-09-13 19 08 49

from rectlabel-support.

ryouchinsa avatar ryouchinsa commented on June 12, 2024

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.

ryouchinsa avatar ryouchinsa commented on June 12, 2024

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.

ryouchinsa avatar ryouchinsa commented on June 12, 2024

Currently If you need our support to fix this problem, please let us know.

from rectlabel-support.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.