The codes in this warehouse are used for learning purposes. You can run... To train a contrastive-enhanced diffusion model for generating minority classes. After that, you can run... To synthesize a few samples of the minority class. If you wish to use your own dataset, ... and ... Can help you.
Our model code has learned from TabDiff and MoCo v3. If you want to understand the more fundamental principles and details, you can visit the following link: