Skip to content

DonghwanKIM0101/CS492I_CV

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CS492(I) CV Project

KAIST CS492(I) Special Topics in Computer Science[Deep Learning for Real-World Problems]

Authorized DonghwanKim

Authorized SeungilLee


The model output of FixMixMatch and ThresholdMixMatch

Google Drive link

FixMixMatch_np.pt and FixMixMatch_p.pt are each for FixMixMatch model in non-pretrained and pretrained option ThresholdMixMatch_np.pt and ThresholdMixMatch_p.pt are each for ThresholdMixMatch model in non-pretrained and pretrained option

Table of contents

  1. Summary

  2. Method

    2.1 Threshold

    2.2 Data Augmentation

  3. Result

  4. Conclusion

  5. Reference

Summary

It is project in KAIST CS492(I) course. With NSML of NAVER, implement shopping item object detection model.

Alt text Alt text

These are the example of data. Our team's approach is to exploit FixMatch to MixMatch.

Method

Threshold

Threshold is one of main concept of FixMatch.


https://arxiv.org/pdf/2001.07685.pdf

By using threshold while guessing pseudo label, the model only learn for confident unlabeled data. Original method use fixed threshold value, 0.95. Compared to original method, our team have to use non-pretrained model for this project. We suggest new concept threshold scheduling.


In the graph, X-axis is current_epoch/total_epoch and Y-axis is the probability that unused unlabeled data. For first epoch, the model learn the most confident 30% unlabeled data, and for last epoch, the model learn all of the unlabeled data.

Data Augmentation

FixMatch uses both weakly augmented data and strongly augmented data.


https://arxiv.org/pdf/2001.07685.pdf

For weak data augmentation, Crop, Horizontal Flip, and Vertical Flip For strong data augmentaion, Crop, Horizontal Flip, Vertical Flip, Rotation, Color Jitter, and Cutout

Result

To check our own model, compare MixMatch, ThresholdMixMatch, FixMixMatch. ThresholdMixMatch is MixMatch with threshold scheduling, FixMixMatch is MixMatch with threshold scheduling, weak and strong data augmentation. We use DenseNet121 for all tests.



For non-pretrained model, ThresholdMixMatch shows the best result and FixMixMatch shows the worst result.



For pretrained model, three models show similar result although FixMixMatch shows the worst result in average top1.

Conclusion

We wanted to exploit FixMatch to MixMatch; FixMixMatch. From the result, FixMixMatch does not show good result for non-pretrained model. We guessed that it is because the strong data augmentation does not work well in non-pretrained model.


The graph proves our guess.

However, threshold scheduling improves the result. Compared to original threshold concept, our new concept focuses more on non-pretrained model. Also, by testing the models in pretrained option, we can get FixMatch works well in pretrained option but does not in non-pretrained option.

Reference

D Berthelot, N Carlini, I Goodfellow, N Papernot, A Oliver, CA Raffel, MixMatch: A Holistic Approach to Semi-Supervised Learning, 2019 Kihyuk Sohn, David Berthelot, Chun-Liang Li, Zizhao Zhang, FixMatch: Simplifying Semi-Supervised Learning with Consistency and Confidence, 2020

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages