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

where is the mish_cpp?

hhl0202 opened this issue · comments

when i found mish.py ,i see MishV3,but we need "import mish_cpp",can i ask where is the mish_cpp?

Hi,

You need to compile the source with command python setup.py install, then there will be some .so file generated, the .so file is the mish_cpp.

you can find it out like this:

python
>>> import mish_cpp
>>> mish_cpp.__file__

Closing this since you might have figured it out.