ndsampler.category_tree

Extends the CategoryTree class in the kwcoco.category_tree module with torch methods for computing hierarchical losses / decisions.

Notes from YOLO-9000:
  • perform multiple softmax operations over co-hyponyms

  • we compute the softmax over all sysnsets that are hyponyms of the same concept

synsets - sets of synonyms (word or phrase that means exactly or nearly the same as another)

hyponymn - a word of more specific meaning than a general or

superordinate term applicable to it. For example, spoon is a hyponym of cutlery.

Module Contents

Classes

CategoryTree

Mixin methods for CategoryTree that specifically relate to computing

class ndsampler.category_tree.CategoryTree

Bases: kwcoco.CategoryTree, Mixin_CategoryTree_Torch

Mixin methods for CategoryTree that specifically relate to computing normalized probabilities.