Skip to content

Question on evaluation #23

@andyj1

Description

@andyj1

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

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions