Closed lilichu closed 5 years ago
Why set 'upsample.upconv.weight': None? In this way we can not load upsample.upconv.weight when load ckpt. but why? thanks!
upsample.upconv.weight
https://github.com/roytseng-tw/Detectron.pytorch/blob/8315af319cd29b8884a7c0382c4700a96bf35bbc/lib/modeling/keypoint_rcnn_heads.py#L70
if self.upsample_heatmap: blob_name = 'kps_score_lowres' detectron_weight_mapping.update({ 'upsample.upconv.weight': None, # 0: don't load from or save to checkpoint 'upsample.upconv.bias': None })
Why set 'upsample.upconv.weight': None? In this way we can not load
upsample.upconv.weight
when load ckpt. but why? thanks!https://github.com/roytseng-tw/Detectron.pytorch/blob/8315af319cd29b8884a7c0382c4700a96bf35bbc/lib/modeling/keypoint_rcnn_heads.py#L70