Hi everyone, I copied the weights of my trained model using “model.state_dict()” and then I want to update these weights using model.load_state_dict(weights) but I’m getting an error "AttributeError: ‘float’ object has no attribute ‘copy’ " as shown in the images below. Any ideas as to how can I can fix this?



3830×62 26.7 KB