I was wondering if there is a way to load a specific number of data per class for a multi-classes segmentation task?
can I use BatchSampler in this regard? if so, can you help me with an example? I have found these two topics here 1 and here 1 but I couldn’t implement them for multi-class labeling. Thanks in advance!