CenterMask icon indicating copy to clipboard operation
CenterMask copied to clipboard

bug in test_net / usage instructions . parameter MODEL.WEIGHT is ignored

Open omerbrandis opened this issue 3 years ago • 0 comments

hi ,

useage instructions and test_net.py code are misleading: cfg.merge_from_file(args.config_file) cfg.merge_from_list(args.opts) cfg.freeze()

in practice , code in maskrcnn_bechmark/utils/checkpoint.py , loads the last existing checkpoint if present: def load(self, f=None): if self.has_checkpoint(): # override argument with existing checkpoint f = self.get_checkpoint_file() if not f: # no checkpoint could be found self.logger.info("No checkpoint found. Initializing model from scratch") return {} self.logger.info("Loading checkpoint from {}".format(f))

:-) Omer.

omerbrandis avatar Feb 25 '21 06:02 omerbrandis