DEKR/lib/config/__init__.py中有from .default import _C as cfg。
DEKR/lib/config/default.py中的。_C更像参数
from yacs.config import CfgNode as CN
_C = CN()
_C.OUTPUT_DIR = ''
_C.NAME = 'regression'
_C.LOG_DIR = ''
_C.DATA_DIR = ''
_C.GPUS = (0,)
_C.WORKERS = 4
_C.PRINT_FREQ = 20
_C.AUTO_RESUME = False
_C.PIN_MEMORY = True
_C.RANK = 0
_C.VERBOSE = True
_C.DIST_BACKEND = 'nccl'
_C.MULTIPROCESSING_DISTRIBUTED = True
标签:lib,dekr,出处,cfg,config,True,DIR From: https://www.cnblogs.com/hahaah/p/17083860.html