Questions tagged [coco]

A CoffeeScript dialect that aims to be more radical and practical.

A CoffeeScript dialect that aims to be more radical and practical.

Read More.

Online shell

66 questions
0
votes
0 answers

Converting COCO Format to LabelMe Format

I am trying to convert COCO json file to LabelMe json file. I used a python script called "coco2labelme.py" to convert the json file. It successfully converts the json file, the only problem is that I get an error every time I try to load the…
0
votes
1 answer

COCO keypoints annotation wrong order from CVAT

I have annotated and downloaded COCO keypoint annotations from the CVAT software but the points are in the wrong order. Has anyone else encountered this issue? If so how did you get around it?
0
votes
1 answer

COCO Evaluator results to var

I have COCOEvaluator implemented into my Detectron2 network, however I need to output the evaluation metrics (AP) into variable so I can work with it further. I cant figure out how to do that, or what to call? The only thing that "works" is reading…
Deamoon
  • 3
  • 4
0
votes
3 answers

Reading data from a json using Python and using it to draw shapes

I have a COCO formatted json which if you are not familiar with COCO, is just a list of coordinates of 10 sided polygons (attached an example). I need to create an array from these coordinates that will plot them on a 128 x 128 square as filled in…
0
votes
1 answer

Understanding Detectron2 COCO Evaluator

I am evaluating Cityscapes dataset using COCOEvaluator from Detectron2. I want to know if COCO Evaluation metric implemented in Detectron2 takes into consideration the number of instances of each class, i.e. if the mAP is actually the weighted…
pinxau1000
  • 301
  • 1
  • 11
0
votes
0 answers

Merging contours in Open CV

Recently, I have been studying image segmentation. I am using the "cv2.findcontour" function to contain the annotation information of the mask image. Pixel values of the mask have 0, 1, and 2. However, there is a problem that the contour is…
0
votes
1 answer

COCO dataset in fiftyone labelling problem

Hi guys i am downloading specific part of coco with fiftyone, only "detections" label type. But when i upload the data and label folder to cloud dataset transforming to segmentation polygon labelling what can i do for that?
0
votes
1 answer

Resize COCO bounding boxes for object detection

So here is my first question here. I am preparing a dataset for object detection. I have done the following things so far: I have an original picture (size w4000 x h3000). I used the annotation platform Roboflow to annotate it in COCO format, with…
OlegRuskiy
  • 173
  • 2
  • 12
0
votes
3 answers

How to delete multiple json objects from a big json file

Hello every one i tried the following code, work best for deleting an object from the json file #!/usr/bin/python # Load the JSON module and use it to load your JSON file. # I'm assuming that the JSON file contains a list of objects. import…
Ni Az
  • 1
  • 3
0
votes
1 answer

how to change float array into integers array in json file

human_pose ='''{ "annotations": [ { "area": "356725", "image_id": "1", "iscrowd": "0", "category_id": "1", "keypoints": [ 371.5701271305881, …
Ni Az
  • 1
  • 3
0
votes
1 answer

having problem using ssd_inceptionv2 in colab ( error import tf_slim as slim ModuleNotFoundError: No module named 'tf_slim'

I have a ModuleNotFoundError while using the ssd_inceprionv2 within colab. ModuleNotFoundError: No module named 'tf_slim' Here is what I've so far: %cd /content !git clone --quiet https://github.com/tensorflow/models.git !apt-get install -qq…
0
votes
1 answer

create_coco_tf_record.py from object detection API not creating tfrecord file

I am trying to create tfrecord (.record) files out of coco-format (.json). Therefore I am using this slightly modified version of the create_coco_tf_record.py script from the object detection api github repository. I am running my notebook on…
0
votes
1 answer

How do I fine tune using eager few shot object detection on custom dataset with multiple classes which is in coco format?

I have been trying to use this eager few shot object detection tutorial. Instead of using the rubber ducky data, I wanted to use my custom dataset which is already in coco format and quite large. I tried to generate gt_boxes using my dataset but…
Achyut Sarma
  • 119
  • 7
0
votes
1 answer

object detection api , coco model

I just started using the tensorflow api and trained few models. Suddenly i realised the name of coco model is different and the accuracy is also the poor like what is the main difference between the faster_rcnn_inception_resnet_v2_atrous_coco Vs…
mONA
  • 1
  • 2
0
votes
1 answer

Error installing coco-0.4.0.tar.gz in Python: "Command errored out with exit status 1"

I am trying to install coco-0.4.0.tar.gz in python through pip install, but I'm getting this error: ERROR: Command errored out with exit status 1: command: 'C:\Users\brene\anaconda3\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0]…