Open gemfield opened 3 years ago
config.core.cls_num = 2
config.core.batch_size = 64
config.core.mean = config.data['mean']
config.core.std = config.data['std']
config.core.model_path = "/opt/public/pretrain/ESPNetv2/imagenet/espnetv2_s_2.0.pth"
config.core.criterion = torch.nn.CrossEntropyLoss(weight)
AugFactory('SpeckleAug@0.1 => GaussianAug@0.1 => HorlineAug@0.1 => VerlineAug@0.1 => LRmotionAug@0.1 =>UDmotionAug@0.1 => NoisyAug@0.1 => DarkAug@0.1 => ColorJitterAug@0.15 => BrightnessJitterAug@0.15 =>ContrastJitterAug@0.15 => ImageWithMasksRandomRotateAug@0.6 => ImageWithMasksNormalizeAug =>ImageWithMasksCenterCropAug => ImageWithMasksScaleAug => ImageWithMasksHFlipAug@0.5 =>ImageWithMasksToTensorAug', deepvac_config)
config.core.cls_num = 2
config.core.batch_size = 64
config.core.mean = config.data['mean']
config.core.std = config.data['std']
config.core.model_path = "/opt/public/pretrain/ESPNetv2/imagenet/espnetv2_s_2.0.pth"
config.core.criterion = torch.nn.CrossEntropyLoss(weight)
AugFactory('SpeckleAug@0.1 => GaussianAug@0.1 => HorlineAug@0.1 => VerlineAug@0.1 => LRmotionAug@0.1 =>UDmotionAug@0.1 => NoisyAug@0.1 => DarkAug@0.1 => ColorJitterAug@0.15 => BrightnessJitterAug@0.15 =>ContrastJitterAug@0.15 => ImageWithMasksRandomRotateAug@0.6 => ImageWithMasksNormalizeAug =>ImageWithMasksCenterCropAug => ImageWithMasksScaleAug => ImageWithMasksHFlipAug@0.5 =>ImageWithMasksToTensorAug', deepvac_config)
config.core.cls_num = 2
config.core.batch_size = 64
config.core.mean = config.data['mean']
config.core.std = config.data['std']
config.core.model_path = "/opt/public/pretrain/ESPNetv2/imagenet/espnetv2_s_2.0.pth"
config.core.criterion = torch.nn.CrossEntropyLoss(weight)
AugFactory('SpeckleAug@0.1 => GaussianAug@0.1 => HorlineAug@0.1 => VerlineAug@0.1 => LRmotionAug@0.1 =>UDmotionAug@0.1 => NoisyAug@0.1 => DarkAug@0.1 => ColorJitterAug@0.15 => BrightnessJitterAug@0.15 =>ContrastJitterAug@0.15 => ImageWithMasksRandomRotateAug@0.6 => ImageWithMasksNormalizeAug =>ImageWithMasksCenterCropAug => ImageWithMasksScaleAug => ImageWithMasksHFlipAug@0.5 =>ImageWithMasksToTensorAug', deepvac_config)
config.core.cls_num = 2
config.core.batch_size = 64
config.core.mean = config.data['mean']
config.core.std = config.data['std']
config.core.model_path = "/opt/public/pretrain/ESPNetv2/imagenet/espnetv2_s_2.0.pth"
config.core.criterion = torch.nn.CrossEntropyLoss(weight)
AugFactory('SpeckleAug@0.1 => GaussianAug@0.1 => HorlineAug@0.1 => VerlineAug@0.1 => LRmotionAug@0.1 =>UDmotionAug@0.1 => NoisyAug@0.1 => DarkAug@0.1 => ColorJitterAug@0.15 => BrightnessJitterAug@0.15 =>ContrastJitterAug@0.15 => ImageWithMasksRandomRotateAug@0.6 => ImageWithMasksNormalizeAug =>ImageWithMasksCenterCropAug => ImageWithMasksScaleAug => ImageWithMasksHFlipAug@0.5 =>ImageWithMasksToTensorAug', deepvac_config)
config.input_w = 384
config.input_h = 384
config.core.cls_num = 2
config.core.batch_size = 16
config.core.mean = config.data['mean']
config.core.std = config.data['std']
config.core.model_path = "/opt/public/pretrain/ESPNetv2/imagenet/espnetv2_s_2.0.pth"
config.core.criterion = torch.nn.CrossEntropyLoss(weight)
AugFactory('SpeckleAug@0.1 => GaussianAug@0.1 => HorlineAug@0.1 => VerlineAug@0.1 => LRmotionAug@0.1 =>UDmotionAug@0.1 => NoisyAug@0.1 => DarkAug@0.1 => ColorJitterAug@0.15 => BrightnessJitterAug@0.15 =>ContrastJitterAug@0.15 => ImageWithMasksRandomRotateAug@0.6 => ImageWithMasksNormalizeAug =>ImageWithMasksCenterCropAug => ImageWithMasksScaleAug => ImageWithMasksHFlipAug@0.5 =>ImageWithMasksToTensorAug', deepvac_config)
config.core.epoch_num = 100
config.core.cls_num = 2
config.core.batch_size = 16
config.core.mean = config.data['mean']
config.core.std = config.data['std']
config.core.optimizer = torch.optim.Adam(config.core.net.parameters(), 3e-4, (0.9, 0.999), eps=1e-08, weight_decay=5e-4)
lambda_lr = lambda epoch: round ((1 - epoch/config.core.epoch_num) ** 0.9, 8)
config.core.scheduler = optim.lr_scheduler.LambdaLR(config.core.optimizer, lr_lambda=lambda_lr)
config.core.model_path = "/opt/public/pretrain/ESPNetv2/imagenet/espnetv2_s_2.0.pth"
AugFactory('SpeckleAug@0.1 => GaussianAug@0.1 => HorlineAug@0.1 => VerlineAug@0.1 => LRmotionAug@0.1 =>UDmotionAug@0.1 => NoisyAug@0.1 => DarkAug@0.1 => ColorJitterAug@0.15 => BrightnessJitterAug@0.15 =>ContrastJitterAug@0.15 => ImageWithMasksRandomRotateAug@0.6 => ImageWithMasksNormalizeAug =>ImageWithMasksCenterCropAug => ImageWithMasksScaleAug => ImageWithMasksHFlipAug@0.5 =>ImageWithMasksToTensorAug', deepvac_config)
config.core.epoch_num = 100
config.core.cls_num = 2
config.core.batch_size = 16
config.core.mean = config.data['mean']
config.core.std = config.data['std']
config.core.optimizer = torch.optim.Adam(config.core.net.parameters(), 3e-4, (0.9, 0.999), eps=1e-08, weight_decay=5e-4)
lambda_lr = lambda epoch: round ((1 - epoch/config.core.epoch_num) ** 0.9, 8)
config.core.scheduler = optim.lr_scheduler.LambdaLR(config.core.optimizer, lr_lambda=lambda_lr)
config.core.model_path = "/opt/public/pretrain/ESPNetv2/imagenet/espnetv2_s_2.0.pth"
AugFactory('SpeckleAug@0.1 => GaussianAug@0.1 => HorlineAug@0.1 => VerlineAug@0.1 => LRmotionAug@0.1 =>UDmotionAug@0.1 => NoisyAug@0.1 => DarkAug@0.1 => ColorJitterAug@0.15 => BrightnessJitterAug@0.15 =>ContrastJitterAug@0.15 => ImageWithMasksRandomRotateAug@0.6 => ImageWithMasksNormalizeAug =>ImageWithMasksCenterCropAug => ImageWithMasksScaleAug => ImageWithMasksHFlipAug@0.5 =>ImageWithMasksToTensorAug', deepvac_config)
config.core.epoch_num = 100
config.core.cls_num = 2
config.core.batch_size = 16
config.core.mean = config.data['mean']
config.core.std = config.data['std']
config.core.optimizer = torch.optim.Adam(config.core.net.parameters(), 3e-4, (0.9, 0.999), eps=1e-08, weight_decay=5e-4)
lambda_lr = lambda epoch: round ((1 - epoch/config.core.epoch_num) ** 0.9, 8)
config.core.scheduler = optim.lr_scheduler.LambdaLR(config.core.optimizer, lr_lambda=lambda_lr)
config.core.model_path = "/opt/public/pretrain/ESPNetv2/imagenet/espnetv2_s_2.0.pth"
config.core.epoch_num = 100
config.core.cls_num = 2
config.core.batch_size = 16
config.core.mean = config.data['mean']
config.core.std = config.data['std']
config.core.optimizer = torch.optim.Adam(config.core.net.parameters(), 3e-4, (0.9, 0.999), eps=1e-08, weight_decay=5e-4)
lambda_lr = lambda epoch: round ((1 - epoch/config.core.epoch_num) ** 0.9, 8)
config.core.scheduler = optim.lr_scheduler.LambdaLR(config.core.optimizer, lr_lambda=lambda_lr)
config.core.model_path = "/opt/public/pretrain/ESPNetv2/imagenet/espnetv2_s_2.0.pth"
AugFactory('SpeckleAug@0.1 => GaussianAug@0.1 => HorlineAug@0.1 => VerlineAug@0.1 => LRmotionAug@0.1 =>UDmotionAug@0.1 => NoisyAug@0.1 => DarkAug@0.1 => ColorJitterAug@0.15 => BrightnessJitterAug@0.15 =>ContrastJitterAug@0.15 => ImageWithMasksRandomRotateAug@0.6 => ImageWithMasksNormalizeAug =>ImageWithMasksCenterCropAug => ImageWithMasksScaleAug => ImageWithMasksHFlipAug@0.5 =>ImageWithMasksToTensorAug', deepvac_config)
IoU 金榜