Hi ptrblck,
I’m trying to implement a similar thing here, but

use a pretrained network (e.g. mobilenetV2) as the classifier. So shall I just set self.classifier=models.mobilenet_v2(pretrained = pretrained)? Or is this not the correct way to do it?
I have two image datasets. I wish to use dataset 1 in both the training of the AE and the classifier, but use dataset 2 only in the training of the AE (I don’t have the labels for dataset 2). Is it still possible to implement these inside one model?

Thank you in advance!