Cannot use Inception_v3 with Avalanche #1289
-
Hello, I'm trying to use Avalanche with pretrained CNNs, downloading them from torch.hub
it works well with various kind of ResNet (18, 32, 50, ...), but when I use Google Inception_v3 it gives to me this error
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
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
|
Beta Was this translation helpful? Give feedback.
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: