Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update gunpowder_trainer.py to swap to(device) and float() (#312)
One more place where you have to(device) and then float(). numpy default float is 64, so the to(device) will fail if the device is MPS that doesn't support float64.
- Loading branch information