Yicheng
Yicheng
看上去`target`总是等于`torch.ones(args.batch_size)`,似乎没有起到作用? https://github.com/zheng-yuwei/RankIQA.PyTorch/blob/fad8c07d7b45e59b1384cdb0a31724a395ee3a86/criterions/ranking_loss.py#L27-L28
Q1: https://github.com/toandaominh1997/EfficientDet.Pytorch/blob/master/models/efficientdet.py#L33-L53 ``` python self.backbone = EfficientNet.from_pretrained(MODEL_MAP[network]) ... for m in self.modules(): if isinstance(m, nn.Conv2d): n = m.kernel_size[0] * m.kernel_size[1] * m.out_channels m.weight.data.normal_(0, math.sqrt(2. / n)) elif isinstance(m, nn.BatchNorm2d): m.weight.data.fill_(1)...