FangyunWei / SLRT

239 stars 49 forks source link

After loss.backward(),grad not updated #74

Open wlf121 opened 3 hours ago

wlf121 commented 3 hours ago

The gradient of these layers is None every time

module.recognition_network.visual_backbone_twostream.rgb_stream.backbone.base.0.conv_s.weight has None grad module.recognition_network.visual_backbone_twostream.rgb_stream.backbone.base.0.bn_s.weight has None grad module.recognition_network.visual_backbone_twostream.rgb_stream.backbone.base.0.bn_s.bias has None grad module.recognition_network.visual_backbone_twostream.rgb_stream.backbone.base.0.conv_t.weight has None grad module.recognition_network.visual_backbone_twostream.rgb_stream.backbone.base.0.bn_t.weight has None grad module.recognition_network.visual_backbone_twostream.rgb_stream.backbone.base.0.bn_t.bias has None grad

wlf121 commented 2 hours ago

This is the problem in both training.py and prediction.py