Skip to content

Support pytorch 0.4 and support cpu during test or demo

Latest
Compare
Choose a tag to compare
@ruotianluo ruotianluo released this 25 Apr 04:37
· 16 commits to master since this release

The code has been updated to pytorch 0.4.

Thanks to the .to(device), now the model can be simply change between cpu and cuda. Defaulty, if there is no cuda device, when you run test or demo, the model will automatically run under cpu.