Try to recreate the model and load the state_dict. As the warning already show, it seems that the source code was modified, such that the restored model might not work properly anymore.
Once these warning are gone, feel free to update this topic in case you encounter further errors.