Kwcoco

Latest version: v0.8.7

Safety actively analyzes 723177 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 14 of 15

0.1.5

Added

* Ported the non-torch components of CategoryTree from ndsampler to kwcoco.
* This helps kwcoco work better as a standalone package.
* Union now works with videos
* New formal schema with jsonschema validation support
* Add `autobuild` kwarg to `CocoDset.subset`


Changed
* Removed optional dependency on ndsampler, functionality should now be available without ndsampler.


Fixed
* the `_check_index` method now works correctly.
* `add_image` with `video_id` now works even if the video doesn't exist yet.
* `add_annotation` no longer fails if `category_id` is None.

0.1.4

Added
* Added `compat_dataset.COCO` which supports 99% of the original `pycocotools` API.
* Added `kwcoco modify_categories` CLI which supports renaming and removal of categories.
* New `random_video_dset` demo function to generate toydata in video sequences. Added new tooling for this. STATUS: INCOMPLETE
* Add new video-based APIs to the CocoDataset based on the spec. STATUS: incomplete

Fixed
* Fix bug in find_representative_images.

0.1.3

Added
* Basic KW18 read/write/from-COCO support

Fixed
* Fixed json serialization error when using perterb_coco.

0.1.2

Added
* ported metrics from netharn, might be moved in the future.
* Add `perterb_coco`
* Add `CocoEvaluator` and CLI `kwcoco eval`

0.1.1

Added
* stats CLI can now accept multiple datasets.
* ported `data.grab_voc` and `data.grab_camvid` from netharn.
* Add `kwcoco.coco_evaluator.CocoEvaluator`
* Add `safe` kwarg to `CocoDataset.reroot`

Fixed
* Python2 error with json dump

0.1.0

Added
* Example usage section in CLI help
* Moved toydata from ndsampler to kwcoco

Fixed
* Multipolygon segmentations are now displayed correctly.
* Tracebacks on errors are now displayed.

Page 14 of 15

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.