Closed SvenMuc closed 3 years ago
Short update. In the meanwhile I also tried the code from the trainer.py script. I got the same errors.
model = SalsaNext(self.parser.get_n_classes())
...
torch.nn.Module.dump_patches = True
w_dict = torch.load(FLAGS.trained_model, map_location=lambda storage, loc: storage)
I solved it. I had some conflicts with the installed cuda and pytorch libraries.
Hello, I'm currently trying to load your pretrained model for inference.
This gives me the following error messages.
Did you save all required parameters during training? Or is there something wrong with my code? Thanks for some feedback.
Sven