Feature extraction using alexnet

I am right now trying to implement a project called face recognition on google collab where I want to do feature extraction using AlexNet model and save the feature extraction vectors in a csv file. Then apply SVM for classificiation. I am struck at downloading and applying AlexNet model in google collab.Could anyone please provide step to step guidelines for implementing AlexNet for feature extraction using google collab

Maybe…you can just train AlexNet as a classifier…and then remove the classifier layers…I think there must have some tutorials…