Any recommended ways to combine Torchvision pretrained models and MultiTaskModule? #716
-
Seems somewhat hard since MultiTaskModule expects task id argument. |
Beta Was this translation helpful? Give feedback.
Answered by
AndreaCossu
Aug 6, 2021
Replies: 1 comment 1 reply
-
Hi @dsoselia ! What do you mean with combining? Your model can include a pretrained model inside, so that the forward of your whole model takes task id as argument but you don't forward it to the pretrained submodule. I think it depends on what you have to do here. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
AndreaCossu
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @dsoselia ! What do you mean with combining? Your model can include a pretrained model inside, so that the forward of your whole model takes task id as argument but you don't forward it to the pretrained submodule. I think it depends on what you have to do here.