Questions tagged [mscoco]
42 questions
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
1 answer
Use MS-COCO format as input to PyTorch MASKRCNN
I am trying to train a MaskRCNN Image Segmentation model with my custom dataset in MS-COCO format.
I am trying to use the polygon masks as the input but cannot get it to fit the format for my model.
My data looks like this:
{"id": 145010,…

Mikikikiki
- 1
- 1
0
votes
1 answer
Volatile was removed and now has no effect. Use `with torch.no_grad():` instead
I tried to using Show And Tell model with COCO dataset. But, at one point my Torch program paused. Can anyone fix my code? Here is my code which causes the training to pause.
def to_var(x, volatile=True):
if torch.cuda.is_available():
x =…
0
votes
0 answers
Minimalist coco dataset for instance segmentation : fails to create a legit one
I try to convert a dataset for instance segmentation only using pycocotools. The initial dataset is made of pairs of grey-scaled (left) + groundtruth (middle). The groundtruth image yields two binary instances (red):
The convertion to COCO format…

Jean-Pat
- 1,839
- 4
- 24
- 41
0
votes
0 answers
Training Deeplab on MS COCO
I wish to train deeplab v3+ model on the MS COCO dataset. Has anyone successfully done that before?
What training parameters were used to train the model?
I looked up in the issues in the Github repository but couldn't find any relevant…

Damanpreet kaur
- 123
- 3
- 16
0
votes
0 answers
Problem loading COCO weights to Mask R-CNN on NVIDIA Jetson TX2: Resource Exhausted
I am currently using a NVIDIA Jetson TX2 with Ubuntu 18.04 to train a Mask R-CNN (Matterport implementation https://github.com/matterport/Mask_RCNN) with my custom dataset. When I try to load the mask_rcnn_coco.h5, the following error comes up…
0
votes
1 answer
Custom object detection using Tensorflow Object Detection API
I want to detect helmet and person not wearing helmet.. I use ssd_mobilenet_v1_coco_11_06_2017 model with 1000 helmet images and 1000 without helmet.
1) Is that ok to use ssd_mobilenet_v1_coco_11_06_2017 model for training? If not then what model I…

Malathi K
- 71
- 12
0
votes
1 answer
Create tf_record for selected class_ids on COCO Dataset
I have the full COCO 2017 Dataset (Train,Test,Val) and i want to create tf_record files out of it.
But not for all classes, but rather for only some selected ones.
Therefore I have a label_map containing all classes i want to include in the…

gustavz
- 2,964
- 3
- 25
- 47
0
votes
2 answers
Writing images into a different folder
I have two directories:
dir1 = path/to/original/imgs
and
dir2 = path/to/subset/imgs
dir1 contains images from COCO dataset, and dir2 is currently empty. I also have a list which contains the names of some images (extracted from dir1):
list1 =…

Rahul Bohare
- 762
- 2
- 11
- 31
0
votes
1 answer
I don't receive all the cat_ids that an image has using ann
so I have the following code and I am hoping to get all the categories an image has however it just shows one category for one image even though that image might have multiple…

Mona Jalal
- 34,860
- 64
- 239
- 408
-1
votes
0 answers
Installing COCO API Issue
C:\Windows\system32>pip install Cython
Requirement already satisfied: Cython in c:\users\windows 10 pro\appdata\local\programs\python\python311\lib\site-packages (3.0.0)
C:\Windows\system32>
C:\Windows\system32>pip install…
-2
votes
1 answer
How to add a class in ms-coco dataset?
I have a question. How to add a class in ms-coco dataset?
I tried to learn Mask-Rcnn, I need to add new class in dataset.
But, I don't know how to add, not lose previous dataset.
plz help me