print('Create YOLOv3 model with {} anchors and {} classes.'.format(num_anchors, num_classes)) if load_pretrained: # 加载预训练模型 model_body.load_weights(weights_path, by_name=True, skip_mismatch=True) # 加载参数,跳过错误 print('Load weights {}.'.format(weights_path)) if freeze_bod...