CoinCheung / pytorch-loss

label-smooth, amsoftmax, partial-fc, focal-loss, triplet-loss, lovasz-softmax. Maybe useful

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

need cuda for installing on MacOs

reymondzzzz opened this issue · comments

Can you fix setup.py for installing for cpu version MacOS?

Hi,

Currently these code is only tested on linux (which is my working environment). I am afraid I cannot transfer the cuda code to mac OS in short future, but if you do not want to use cuda based code, you can copy-and-paste the pure pytorch codes to your project. It is easy to find it out by using grep command, please have try :)