Imported from https://github.com/kekmodel/FixMatch-pytorch