castorini / howl

Wake word detection modeling toolkit for Firefox Voice, supporting open datasets like Speech Commands and Common Voice.
Mozilla Public License 2.0
199 stars 30 forks source link

Howl on CPU #63

Closed ljj7975 closed 3 years ago

ljj7975 commented 3 years ago

The instruction may not be up to date for CPU version

ljj7975 commented 3 years ago

image (12)

Issue is that torch.load requires the device to be specified. otherwise it will use the device that was saved along with the model.

solution is to pass the self.device to laod_model function of hubconf.py