def check_cfg(self, cfg):
    "Check whether some variables are set correctly for\n        the trainer (optional).\n\n        For example, a trainer might require a particular sampler\n        for training such as 'RandomDomainSampler', so it is good\n        to do the checking:\n\n        assert cfg.DATALOADER.SAMPLER_TRAIN == 'RandomDomainSampler'\n        "
    pass
Check whether some variables are set correctly for
the trainer (optional).

For example, a trainer might require a particular sampler
for training such as 'RandomDomainSampler', so it is good
to do the checking:

assert cfg.DATALOADER.SAMPLER_TRAIN == 'RandomDomainSampler'
def check_cfg(self, cfg):
    "Check whether some variables are set correctly for\n        the trainer (optional).\n\n        For example, a trainer might require a particular sampler\n        for training such as 'RandomDomainSampler', so it is good\n        to do the checking:\n\n        assert cfg.DATALOADER.SAMPLER_TRAIN == 'RandomDomainSampler'\n        "
    pass