Skip to content

Relax coco extractor (none for super category by default)#54

Merged
zhiltsov-max merged 1 commit intodevelopfrom
nm/relax_coco_extractor
Nov 23, 2020
Merged

Relax coco extractor (none for super category by default)#54
zhiltsov-max merged 1 commit intodevelopfrom
nm/relax_coco_extractor

Conversation

@nmanovic
Copy link
Copy Markdown

@nmanovic nmanovic commented Nov 19, 2020

Now it is possible to load coco_instances dataset even if the annotation file doesn't have supercategory.

Summary

An internal team tries to load annotations which are generated by an OTE script (https://github.com/openvinotoolkit/training_extensions/blob/develop/pytorch_toolkit/object_detection/model_templates/face-detection/tools/wider_to_coco.py). OTE script doesn't generate supercategory field inside the json annotation file. Probably the field has to be optional.

How to test

Checklist

License

  • I submit my code changes under the same MIT License that covers the project.
    Feel free to contact the maintainers if that's a concern.
  • I have updated the license header for each file (see an example below)
# Copyright (C) 2020 Intel Corporation
#
# SPDX-License-Identifier: MIT

@zhiltsov-max zhiltsov-max merged commit 5d3f3e5 into develop Nov 23, 2020
@zhiltsov-max zhiltsov-max deleted the nm/relax_coco_extractor branch November 23, 2020 12:21
This was referenced Dec 10, 2020
zhiltsov-max pushed a commit that referenced this pull request Dec 11, 2020
* Relax importer for Pascal VOC dataset (search in subdirectories) (#50)

In some cases developers don't want to specify the exact path to Pascal VOC.
Now you have to specify VOCtrainval_11-May-2012/VOCdevkit/VOC2012/. After the
patch it will be possible to specify VOCtrainval_11-May-2012/.

* Allow missing supercategory in COCO annotations (#54)

Now it is possible to load coco_instances dataset even if the annotation file doesn't have supercategory

* Add CamVid format support (#55)

Co-authored-by: Maxim Zhiltsov <maxim.zhiltsov@intel.com>

* Fix CamVid format (#57)

* Fix ImageNet format

* Fix CamVid format

* ability to install opencv-python-headless instead opencv-python (#62)

Allow to choose `opencv=python-headless` as dependency with `DATUMARO_HEADLESS=1` env. variable when installing

* Release 0.1.4 (#63)

* update version

* update changelog

Co-authored-by: Nikita Manovich <nikita.manovich@intel.com>
Co-authored-by: Anastasia Yasakova <anastasia.yasakova@intel.com>
Co-authored-by: Andrey Zhavoronkov <andrey.zhavoronkov@intel.com>
zhiltsov-max pushed a commit to zhiltsov-max/datumaro that referenced this pull request Jan 27, 2026
* Add --only-binary for matplotlib

See cvat-ai#51 (comment)

* Use lower version instead of --only-binary

setup.py doesn't play well with that option.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants