Closed ghost closed 4 years ago
@chenwydj can the final trained model use only cpu for inferencing?
Hi @deepseek!
Thank you for your interest in our work!
Yes you can inference on CPU. You can just remove all the .cuda() in the code. You may also need to map the pretrained model onto CPU when loading it.
.cuda()
@chenwydj can the final trained model use only cpu for inferencing?