Sorry!! let me rephrase it.
So basically I capture weights of last three epochs (epoch =8,9, and 10) for same model.
Now I want to predict my test data-set.
ypred_valid =  torch.sigmoid(model(valid_images)) ## where weights of epoch 8 is used.
ypred_valid =  torch.sigmoid(model(valid_images)) ## where weights of epoch 9 is used.
ypred_valid =  torch.sigmoid(model(valid_images)) ## where weights of epoch 10 is used.
In all three of them my model is same but model.state_dict() is different(which refers to weights.)
Now, How I load my model which takes weights(model.state_dict().) of epoch 8,9 and 10.