Skip to content

Cannot use Inception_v3 with Avalanche #1289

Answered by HamedHemati
caesar753 asked this question in Q&A
Discussion options

You must be logged in to vote

The output of InceptionV3 is a tuple by default, and Avalanche expects the model's output to be logits. You can disable the auxiliary output in InceptionV3 by setting aux_logits=False when initializing your model:

model = torch.hub.load('pytorch/vision:v0.10.0', "inception_v3", pretrained=True, force_reload=True, aux_logits=False)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@caesar753
Comment options

Answer selected by caesar753
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants