We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
(DET2) D:\FPCs>python --version Python 3.9.13
(DET2) D:\FPCs>pip list labelme Package Version Editable project location
labelme 5.0.5
windows11
(DET2) D:\FPCs>python D:/DeepLearning/labelme/examples/instance_segmentation/labelme2coco.py --labels classes.txt 000003 labels Creating dataset: labels Generating dataset from: 000003\dog.json Traceback (most recent call last): File "D:\DeepLearning\labelme\examples\instance_segmentation\labelme2coco.py", line 209, in main() File "D:\DeepLearning\labelme\examples\instance_segmentation\labelme2coco.py", line 184, in main labels, captions, masks = zip( ValueError: not enough values to unpack (expected 3, got 0)
Skip the label file
The text was updated successfully, but these errors were encountered:
label file of dog.json { "version": "5.0.5", "flags": {}, "shapes": [ { "label": "ignore", "points": [ [ 1248.0740740740741, 445.7530864197531 ], [ 1586.3456790123457, 1012.4197530864197 ] ], "group_id": null, "shape_type": "rectangle", "flags": {} } ], "imagePath": "dog.png", "imageData": null, "imageHeight": 1152, "imageWidth": 2048 }
Sorry, something went wrong.
how to deal with?
Just skip it?
The solution is here: #774
No branches or pull requests
Provide environment information
(DET2) D:\FPCs>python --version
Python 3.9.13
(DET2) D:\FPCs>pip list labelme
Package Version Editable project location
labelme 5.0.5
What OS are you using?
windows11
Describe the Bug
(DET2) D:\FPCs>python D:/DeepLearning/labelme/examples/instance_segmentation/labelme2coco.py --labels classes.txt 000003 labels
Creating dataset: labels
Generating dataset from: 000003\dog.json
Traceback (most recent call last):
File "D:\DeepLearning\labelme\examples\instance_segmentation\labelme2coco.py", line 209, in
main()
File "D:\DeepLearning\labelme\examples\instance_segmentation\labelme2coco.py", line 184, in main
labels, captions, masks = zip(
ValueError: not enough values to unpack (expected 3, got 0)
Expected Behavior
Skip the label file
To Reproduce
The text was updated successfully, but these errors were encountered: