LordLiang / GA-Sketching

(PG2023/CGF) This is the official PyTorch implementation of PG2023/CGF paper: GA-Sketching: Shape Modeling from Multi-View Sketching with Geometry-Aligned Deep Implicit Functions
26 stars 2 forks source link

reproduction error #6

Open 1910183821 opened 5 months ago

1910183821 commented 5 months ago

self.model.merger.load_state_dict(checkpoint['model_state_dict']) KeyError: 'model_state_dict'

LordLiang commented 3 months ago

I am sorry. You can remove the keyword: self.model.merger.load_state_dict(checkpoint). This error may result from the different saving methods: torch.save(model.state_dict(), PATH) and torch.save(model, PATH).