-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
Hi I am confused in using the coco api , especially about segmentation task of mask api. Can anyone give some example about segmentation task relate api please? #83
Comments
I assume you are talking about object/thing segmentation. In that case take a look at https://github.com/cocodataset/cocoapi/blob/master/PythonAPI/pycocoDemo.ipynb . For stuff segmentation go to https://github.com/nightrome/cocoapi |
I had read the demon program but did not get help for my work. I need to get the instance segmentaion label for every image. Do you have any example or document about the kind of operation please. Thank you so much! |
when given an image name , I want to get all instances or object label in this image from 0-80 pixel by pixel. The demon code seems to be given an instance class id and get you the image id(name) which made confused. |
You can always ignore some of the fields: |
After a lot of effort and search, I was finally able to install coco API. I am trying to run a video captioning code. A neural network for video captioning. These are the libraries which are not executing because anaconda coco API doesn't work anymore. But I installed it anyway. The only line that is executing is this one. How do I run the rest of the above library lines? Thanks in advance. |
@Shanzaay I don't think you properly setup the API. The file is at https://github.com/cocodataset/cocoapi/blob/master/PythonAPI/pycocotools/coco.py . Somehow that folder does not seem to be on your PYTHONPATH. |
@nightrome it's my first time with this kinda thing. Call me a newbie. Now I am more confused than before. Can you guide me in this? How do I make those libraries execute and how to properly install coco API. A step by step guidance will be great. Thanks a lot. |
@Shanzaay |
Ok, I'll try it @nightrome. And thanks a bunch. |
@nightrome so here are the steps i performed: once it installed i get something like this: But i am still having the error. What is it that i am doing wrong? |
Ok thanks. @nightrome does cocoAPI is not supported by Python 3? |
Python 3 should not be a problem. But they officially state on the link above that Windows is not supported. |
Hey, I have recently written an entire post on exploring and manipulating the COCO dataset for Image Segmentation. Do have a look. |
I read your post, and my got my answer about how to get mask from the dataset. Thanks a lot. |
No description provided.
The text was updated successfully, but these errors were encountered: