Loading and pushing multiple models to GPUs at the same #13023
Unanswered
rahulvigneswaran
asked this question in
Lightning Trainer API: Trainer, LightningModule, LightningDataModule
Replies: 1 comment
-
Maybe we could add models to a |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have multiple pre-trained models at hand (one for each class). I have already loaded and frozen them.
Now I need to extract features from them and distill them into a new model.
For doing so, am adding all the models to a python dict so that I can use the class label to access the appropriate model and extract features from them. But the problem is that these pre-trained models inside the python dict are not moved automatically to GPUs. What am I doing wrong here?
Beta Was this translation helpful? Give feedback.
All reactions