i want my inception v3 till mixed 6e layer and i am using the output from mixed 6e layer as input to another network , but don’t know how to get exact that part of inception!
You could write a custom module by using the
inception_v3 model as the base class and override the
forward method of your custom class to only call the desired modules.
Alternatively, you could also use forward hooks to grab the intermediate activation (this would run the complete model nevertheless, so would come with a performance penalty).