Initialize a detector from config file. Args: config (str, :obj:`Path`, or :obj:`mmcv.Config`): Config file path, :obj:`Path`, or the config object. checkpoint (str, optional): Checkpoint path. If left as None, the model will not load any weights.
(config, checkpoint=None, device='cuda:0', cfg_options=None)
source not stored for this graph (policy: none)