Hi folks,
I hope you are doing well. I wanted to let you know about my new example on keras.io 8:

  
      
      keras.io
  
  
    

Keras documentation: Consistency Training with Supervision 7



  
  
    
    
  
  


It shows how to perform consistency regularization to improve the performance of vision models under distribution shifts. It also provides a template for conducting semi-supervised / weakly supervised learning.
With this minimal example, I got promising improvements on CIFAR-10-C 1:

My full-scale experiments are here 6. As always, happy to address feedback.