I have some issues on deploying my custom YOLOv8 instance segmentation model to a new project to generate annotations for the new dataset:
When I tried the model on a new image in Roboflow editor it doesn’t generate anything no matter how I change the confidence and overlap values. The console output from developer tools is:
util_base.js:139
Uncaught (in promise) Error: Error in transpose: rank of input 1 must match length of perm 0,2,1.
at Object.h (util_base.js:139:15)
at transpose_ (transpose.js:52:5)
at Module.transpose__op (operation.js:44:28)
at e.<anonymous> (index.ts:184:25)
at roboflow.js:2:1249588
at Object.next (roboflow.js:2:1249693)
at i (roboflow.js:2:1248407)
I also try public models like MS COCO on label assist and it is working fine which can generate annotations. When I use my custom YOLOv8 model it doesn’t even show the message box ‘X annotations applied’.
Could you share your project and workspace ID or Universe link so that we can help sort out this issue for you?
Does this issue occur with other Universe models? (You can try Universe models by clicking on the star icon on their page and selecting it in Label Assist)
I tried other Universe models on yolov8 segmentation and they worked fine surprisingly. But my model actually deploys fine and can show the segments normally on Deploy page shown below:
Did you happen to upload your model through the .deploy function in our Python package? The issue might stem from something wrong with the uploaded model.
Could you share the notebook you used to train the model?
Yes I used version.deploy() to upload my model to Roboflow. Do you mind giving me your email address? I didn’t keep the exact version of that particular trained model but I can share the model weights and result with you.