YU1ut / MixMatch-pytorch

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

fix "result type Float can't be cast to the desired output type Long" error #29

Closed hturki closed 4 years ago

hturki commented 4 years ago

see https://github.com/YU1ut/MixMatch-pytorch/issues/27

h/t to @afterall204168 for the proposed fix