YU1ut / MixMatch-pytorch

Code for "MixMatch - A Holistic Approach to Semi-Supervised Learning"
MIT License
633 stars 129 forks source link

Allow training on customized dataset #45

Open duyao-art opened 2 years ago

duyao-art commented 2 years ago

I revised the original train.py. I am a new guy in this field, therefore any suggestions are welcomed!

Check README_customized_data.md to see the training process.

The updated train_SSL.py allows training using customized dataset. The original MixMatch Loss Function was also revised to consider the potential class imbalance issues during the training process.

The updated train_TL.py allows easier perfomance evaluation of SSL and TL training paradigm.