I’ve read the code of ConcatDataset 1.0k. One question is that: how can we control the ratio of data coming from a specific dataset?
For example, dataset A contains 100 data, and dataset B contains 10000 data. How can we get 1:1 data from both A and B in one mini-batch? Does anybody have any idea? Thank you.