Shortcuts

Source code for mmseg.structures.sampler.base_pixel_sampler

# Copyright (c) OpenMMLab. All rights reserved.
from abc import ABCMeta, abstractmethod


[docs]class BasePixelSampler(metaclass=ABCMeta): """Base class of pixel sampler.""" def __init__(self, **kwargs): pass
[docs] @abstractmethod def sample(self, seg_logit, seg_label): """Placeholder for sample function."""
Read the Docs v: latest
Versions
latest
0.x
main
dev-1.x
Downloads
epub
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.