_C.MODEL = CfgNode() _C.MODEL.TRANSFER_TYPE = "prompt" # one of linear, end2end, prompt, adapter, side, partial-1, tinytl-bias _C.MODEL.WEIGHT_PATH = "" # if resume from some checkpoint file _C.MODEL.SAVE_CKPT = False _C.MODEL.MODEL_ROOT = "D:\\深度学习\\swin\\预训练模型\\swin_base_patch4_window7_224_22k.pth" # root folder for pretrained model weights _C.MODEL.TYPE = "swin" _C.MODEL.MLP_NUM = 0 _C.MODEL.LINEAR = CfgNode() _C.MODEL.LINEAR.MLP_SIZES = [] _C.MODEL.LINEAR.DROPOUT = 0.1
时间: 2023-06-25 20:02:25 浏览: 299
这是一个配置文件,其中定义了模型的各种参数和选项。模型类型是 "swin",使用的预训练模型权重路径是 "D:\\深度学习\\swin\\预训练模型\\swin_base_patch4_window7_224_22k.pth"。还指定了模型的传输类型、是否保存检查点等。MLP_NUM 和 MLP_SIZES 指定了多层感知机的数量和大小,而 DROPOUT 则指定了 MLP 层之间的 dropout 率。
阅读全文