def METHOD_NAME(self, fname: str) -> 'ConfigDict':
    """Grab necessary configs necessary to create a detector.
    These are deep copied to allow for safe modification of parameters
    without influencing other tests.
    """
    config = self._get_config_module(fname)
    model = copy.deepcopy(config.model)
    return model