pytorch-image-models
pytorch-image-models copied to clipboard
Fix device problem
Before, the one_hot could only run in device='cuda'. Now it will run on input device automatically.