Reputation: 19
I have a custom image dataset with 41 classes, and I've fine-tuned this dataset on six pre-trained models:
After fine-tuning, I saved each model as a .pth
file.
Now, I want to load these .pth
files and combine the models to classify images.
Since the architectures of the pre-trained models are different, I encountered an "unknown keys" error when I tried to load the models. So how do i achieve my goal of combined training?
Upvotes: 0
Views: 34