facebookresearch / odin

A simple and effective method for detecting out-of-distribution images in neural networks.
Other
526 stars 102 forks source link

MMD and Energy distance code #4

Open tayden opened 6 years ago

tayden commented 6 years ago

Would you consider releasing the code for the MMD and Energy distance calculation between datasets?

YixuanLi commented 6 years ago

Hi Taylor, you could consider using existing MMD modules for your purposes (e.g: https://www.clips.uantwerpen.be/~vincent/thesis-software/mmd.py)

matteoguarrera commented 3 years ago

It seems that the resource you have suggested is no more online. Is your version still unavailable? Thanks a lot.

YixuanLi commented 3 years ago

Hi Matteo,

Here is a more well-documented library that might be useful: https://torch-two-sample.readthedocs.io/en/latest/. Hope it helps.