I’m working on Detection of pneumonia project but I’m stuck at the first step on how to balance datasets which have images only. Can I get the code to balance the datasets using Pytorch . I have training , testing and validation sets which have images only.
Screenshot_2021-10-31-20-56-43-788_com.android.chrome1080×2160 124 KB