-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
def load_pretrained_weights(self, path): w_dict = torch.load(path + "/backbone", map_location=lambda storage, loc: storage) self.backbone.load_state_dict(w_dict, strict=True) w_dict = torch.load(path + "/segmentation_decoder", map_location=lambda storage, loc: storage) self.decoder.load_state_dict(w_dict, strict=True)
thanks for the amazing work.
I have a question on running the evaluation code.
The code above in the modules/rangenet/model.py (for RangeNet++ for example), it directs to './pretrained_weights/kitti/rangenet/backbone', which is a directory. I wonder how to properly load the pretrained_weights. Thanks!
Metadata
Metadata
Assignees
Labels
No labels