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
8
votes
4 answers

COCO json annotation to YOLO txt format

how to convert a single COCO JSON annotation file into a YOLO darknet format?? like below each individual image has separate filename.txt file
ShivAA
  • 121
  • 1
  • 2
  • 8
6
votes
1 answer

Kotlin compiler to JavaScript in JavaScript?

Is there a Kotlin compiler to JavaScript available in JavaScript (like CoffeeScript or Coco)? If not, when is expected to be available?
TN.
  • 18,874
  • 30
  • 99
  • 157
4
votes
3 answers

Coco Json file to CSV format (path/to/image.jpg,x1,y1,x2,y2,class_name)

I would like to convert my coco JSON file as follows: The CSV file with annotations should contain one annotation per line. Images with multiple bounding boxes should use one row per bounding box. Note that indexing for pixel values starts at 0. The…
jvl
  • 53
  • 2
  • 3
3
votes
2 answers

Label file of yolov7

I downloaded the object model yolov7 (https://github.com/WongKinYiu/yolov7) and the coco dataset. Then there are the folders coco\images and coco\labels. I opened the image "coco\images\train2017\000000000034.jpg" and the corresponding label file…
Albi
  • 41
  • 3
3
votes
4 answers

How to convert PASCAL VOC to YOLO

I was trying to develop some way to convert annotations between formats, and it's quit hard to find information but here I have : This one is PASCAL VOC 800 450 3 474
robert.batty
  • 490
  • 5
  • 13
3
votes
2 answers

CoffeeScript compatible fork with fixed scoping?

Is there a CoffeeScript fork with no changes other than fixed scoping, so that it's largely compatible with CoffeeScript (completely compatible if the code has no outer-variable assignments)? I'd consider acceptable ways to assign an outer variable…
Yang
  • 16,037
  • 15
  • 100
  • 142
2
votes
0 answers

How to convert my object detection dataset to Tensorflow specific COCO format (same from Tensorflow datasets)?

I’m running this Tensorflow implementation of Retinanet and it ran perfectly. However, my goal is to adapt it to my own Object Detection dataset i.e. put my own object detection dataset to it. The problem is that the author gets COCO dataset using…
2
votes
1 answer

COCO annotations to masks - For instance segmentation model training

I am trying to convert my COCO annotations to a mask. Each instance in the COCO annotations need to be represented as an unique instance in the mask. I found this question which does convert the annotations to a mask but there are only two unique…
2
votes
1 answer

Convert coco to labelme format

I want to convert my existing coco format into the labelme…
honeymoon
  • 2,400
  • 5
  • 34
  • 43
2
votes
1 answer

VGG image annotator not exporting in COCO format

Im trying to convert my VGG image annotator results into COCO format, but it does not add the categories, and hence the category list is empty. The following is my exported COCO format. Please see the empty category list.…
2
votes
1 answer

How to generate functions in a loop in coco?

I would like to generate functions in a loop: for own k, v in t ctor::[k] = -> v(...) @ However, coco seems to generate just one function and reuse it: var k, v, __ref, __own = {}.hasOwnProperty; for (k in __ref = t) if (__own.call(__ref,…
TN.
  • 18,874
  • 30
  • 99
  • 157
1
vote
2 answers

Trying to train detectron2 - KeyError: 'p2'

I have a json file with labeled images and I'm trying to train detectron2 to identify leaves in a picture of a tree. I keep getting this error: Traceback (most recent call last): File "/home/aesa/steps.py", line 71, in trainer =…
1
vote
1 answer

Write COCOeval summary to tensorboard

I am using pycocotools to evaluate my R-CNN model coco_eval = pycocotools.cocoeval.COCOeval(coco_gt) I perform all of the necessary computations and then call coco_eval.accumulate() coco_eval.summarize() This prints a table more or less like this …
alagris
  • 1,838
  • 16
  • 31
1
vote
1 answer

Error Training Custom COCO Dataset with Detectron2

I'm trying to train a custom COCO-format dataset with Detectron2 on PyTorch. My datasets are json files with the aforementioned COCO-format, with each item in the "annotations" section looking like this: The code for setting up Detectron2 and…
Sam Skinner
  • 376
  • 3
  • 12
1
vote
2 answers

How to use fiftyone for exploring the instance segmentation of custom coco data?

How to use fiftyone for exploring the instance segmentation of custom coco data? It has documentation for coco dataset but I couldn't find any resource for custom coco dataset.
Sai Dinesh Pola
  • 103
  • 1
  • 7
1
2 3 4 5