Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't run yolo9 model on M4 after converting it using the newest version of coremltools #2309

Open
imerish opened this issue Aug 13, 2024 · 2 comments
Labels
question Response providing clarification needed. Will not be assigned to a release. (type)

Comments

@imerish
Copy link

imerish commented Aug 13, 2024

❓Question

May be related to apple/ml-cvnets#107

{"is_simulated":1,"app_name":"siriactionsd","timestamp":"2024-07-24 09:03:47.00 +0200","app_version":"","slice_uuid":"1be44097-3784-3632-b0d2-0affe22d020e","build_version":"","platform":2,"share_with_app_devs":0,"is_first_party":1,"bug_type":"308","os_version":"iPhone OS 17.5.1 (21F90)","roots_installed":0,"incident_id":"796F9A5E-F6BF-480C-993B-1B5755F8CE7E","name":"siriactionsd"}
{
"uptime" : 59,
"procRole" : "Unspecified",
"version" : 2,
"userID" : 501,
"deployVersion" : 210,
"modelCode" : "iPad16,4",
"coalitionID" : 249,
"osVersion" : {
"isEmbedded" : true,
"train" : "iPhone OS 17.5.1",
"releaseType" : "User",
"build" : "21F90"
},
"captureTime" : "2024-07-24 09:03:47.1396 +0200",
"codeSigningMonitor" : 2,
"incident" : "796F9A5E-F6BF-480C-993B-1B5755F8CE7E",
"pid" : 156,
"cpuType" : "ARM-64",
"roots_installed" : 0,
"bug_type" : "308",
"procStartAbsTime" : 349863686,
"procName" : "siriactionsd",
"procPath" : "/System/Library/PrivateFrameworks/VoiceShortcuts.framework/Support/siriactionsd",
"parentPid" : 1,
"coalitionName" : "com.apple.siriactionsd",
"crashReporterKey" : "4946ca8cd79e46a08a5b485a1adbbf931757709e",
"wasUnlockedSinceBoot" : 1,
"isLocked" : 0,
"codeSigningValidationCategory" : 0,
"codeSigningTrustLevel" : 0,
"basebandVersion" : "1.60.02",
"isLightWeightCorpse" : 1,
"exception" : {"codes":"0x6000000000000007, 0x0000000000000009","reason":9,"message":"namespc 7 reason_code 0x0000000000000009","subtype":"GUARD_TYPE_USER","type":"EXC_GUARD","rawCodes":[6917529027641081863,9],"namespc":7},
"termination" : {"flags":518,"code":9,"namespace":"LIBXPC","indicator":"XPC_EXIT_REASON_FAULT"},
"faultingThread" : 0,
"threads" : [{"triggered":true,"id":4944,"threadState":{"x":[{"value":20480},{"value":250478592},{"value":8880248329062891023},{"value":1658783934704776108},{"value":6692929536},{"value":15316552549444616367},{"value":3277916848112869440},{"value":20612254592},{"value":20612254592},{"value":20602531904},{"value":0},{"value":8452857776},{"value":1},{"value":20603225984},{"value":20603273216},{"value":4342071296},{"value":20480},{"value":6128839328},{"value":17085390353188810560},{"value":20603225984},{"value":20603273216},{"value":0},{"value":0},{"value":6128839536},{"value":13986913809558002376},{"value":0},{"value":4294967296},{"value":0},{"value":20602531904}],"flavor":"ARM_THREAD_STATE64","lr":{"value":4342071296},"cpsr":{"value":0},"fp":{"value":20480},"sp":{"value":3426001792},"esr":{"value":20480,"description":" Address size fault"},"pc":{"value":52,"matchesCrashFrame":0},"far":{"value":0}},"frames":[{"imageOffset":1361516160,"imageIndex":0},{"imageOffset":1694592984,"imageIndex":0},{"imageOffset":1694679968,"imageIndex":0},{"imageOffset":1694681760,"imageIndex":0},{"imageOffset":160495744,"imageIndex":0},{"imageOffset":160687772,"imageIndex":0},{"imageOffset":159870544,"imageIndex":0},{"imageOffset":160559988,"imageIndex":0},{"imageOffset":173766936,"imageIndex":0},{"imageOffset":173767044,"imageIndex":0},{"imageOffset":175232760,"imageIndex":0},{"imageOffset":1016140,"imageIndex":0},{"imageOffset":1004648,"imageIndex":0},{"imageOffset":1003772,"imageIndex":0},{"imageOffset":971120,"imageIndex":0},{"imageOffset":963780,"imageIndex":0},{"imageOffset":184004400,"imageIndex":0},{"imageOffset":269245908,"imageIndex":0},{"imageOffset":269252180,"imageIndex":0},{"imageOffset":184004368,"imageIndex":0},{"imageOffset":172159384,"imageIndex":0},{"imageOffset":172888732,"imageIndex":0},{"imageOffset":882336384,"imageIndex":0},{"imageOffset":882335972,"imageIndex":0},{"imageOffset":882334932,"imageIndex":0},{"imageOffset":882559720,"imageIndex":0},{"imageOffset":882615336,"imageIndex":0},{"imageOffset":1180577304,"imageIndex":0},{"imageOffset":1179905608,"imageIndex":0},{"imageOffset":324413284,"imageIndex":0},{"imageOffset":324417992,"imageIndex":0},{"imageOffset":269318292,"imageIndex":0},{"imageOffset":269320348,"imageIndex":0},{"imageOffset":1694312696,"imageIndex":0},{"imageOffset":1694298316,"imageIndex":0}]}],
"usedImages" : [
{
"size" : 3076997120,
"source" : "S",
"base" : 6442450944,
"uuid" : "0fbe0c43-cefa-3c7b-acf3-3333332f0517"
}
],
"legacyInfo" : {
"threadTriggered" : {

}
},
"trialInfo" : {
"rollouts" : [

],
"experiments" : [

]
},
"reportNotes" : [
"PC register does not match crashing frame (0x34 vs 0x1D1271680)"
]
}

@imerish imerish added the question Response providing clarification needed. Will not be assigned to a release. (type) label Aug 13, 2024
@jakesabathia2
Copy link
Collaborator

Is this a regression in coremltools?
If so, could you provide a script that we can reproduce your issue?

@imerish
Copy link
Author

imerish commented Aug 26, 2024

yolo segment export model=path/to/best.pt format=coreml imgsz=(1280,1280) half=True int8=False nms=False

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Response providing clarification needed. Will not be assigned to a release. (type)
Projects
None yet
Development

No branches or pull requests

2 participants