I would lilke to do both things.
First I would like to use an svm classifier instead of the fc layer, in order to train the network with it, and I was wondering if it was enough to use a different loss in order to do it, or if I had to do something else.
I also would like to try and use the sklearn implementation of the svm using the in_features of the fc layer as its inputs. In this case my question regards how to retrieve these features from the trained net