edgarschnfld / CADA-VAE-PyTorch

Official implementation of the paper "Generalized Zero- and Few-Shot Learning via Aligned Variational Autoencoders" (CVPR 2019)
MIT License
283 stars 57 forks source link

Batch Selection #28

Open ErolCitak opened 2 years ago

ErolCitak commented 2 years ago

Hi,

As far as I see, you have been using torch.randperm in support-query sets selection. Since torch.randperm returns random integer numbers, should we be sure that the distribution of each class is uniform both in train and test sections? For example, is this possible to miss one of the train classes during training or use too many times one of the test classes during the test section?

Or, is this strategy widely used in the few shot data learning algorithms?

Thank you