The ratio might be changed although this is counter intuitive for the epoch idea. Moreover, you can use your labeled set for reconstruction too! So the sequence length must be len(trainset) + len(labeled_trainset), not len(unlabeled_trainset) + len(labeled_trainset)!
The ratio might be changed although this is counter intuitive for the epoch idea. Moreover, you can use your labeled set for reconstruction too! So the sequence length must be
len(trainset) + len(labeled_trainset), notlen(unlabeled_trainset) + len(labeled_trainset)!