How to get the vector (extract the feature) of a transfered learned network?

Your code might work. Most likely you are initializing your inception model with the default settings, i.e. aux_logits=True, which will return a tuple (last layer and the aux_logits).
Set aux_logits=False and run your code again.