MCPcopy
hub / github.com/dbolya/yolact / get_transformed_cat

Function get_transformed_cat

eval.py:295–297  ·  view source on GitHub ↗

transformed_cat_id is [0,80) as indices in cfg.dataset.class_names

(coco_cat_id)

Source from the content-addressed store, hash-verified

293 return coco_cats[transformed_cat_id]
294
295def get_transformed_cat(coco_cat_id):
296 """ transformed_cat_id is [0,80) as indices in cfg.dataset.class_names """
297 return coco_cats_inv[coco_cat_id]
298
299
300class Detections:

Callers 1

dump_webMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected