MCPcopy Index your code
hub / github.com/CSAILVision/IBD / label_size

Method label_size

loader/data_loader.py:206–215  ·  view source on GitHub ↗

Returns the number of distinct labels (plus zero), i.e., one more than the maximum label number. If a category is specified, returns the number of distinct labels within that category.

(self, category=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected