반응형
self.model.Traj_Dec.decoder_mlp[0].weight.data = checkpoint['scratch_state_dict']['Traj_Dec.decoder_mlp.0.weight']
self.model.Traj_Dec.decoder_mlp[0].bias.data = checkpoint['scratch_state_dict']['Traj_Dec.decoder_mlp.0.bias']
self.model.Traj_Dec.decoder_mlp[0].weight.data = checkpoint['scratch_state_dict']['Traj_Dec.decoder_mlp.0.weight']
self.model.Traj_Dec.decoder_mlp[0].bias.data = checkpoint['scratch_state_dict']['Traj_Dec.decoder_mlp.0.bias']