sungnyun / understanding-cdfsl

(NeurIPS 2022) Understanding Cross-Domain Few-Shot Learning Based on Domain Similarity and Few-Shot Difficulty
MIT License
29 stars 9 forks source link

About EMD #4

Closed SmartNight-cc closed 1 year ago

SmartNight-cc commented 1 year ago

Hello! I am also in the research direction of CDFSL. I would like to know if you mentioned in your paper that EMD is used to measure the distance between domains. Is it reflected in the code? I want to refer to the code

sungnyun commented 1 year ago

Hi @SmartNight-cc, sorry for the late reply!

Yes, please have a look at our paper, Sec. 3.2. You will find our explanation on measuring the EMD. (+ Appx. D describes more details.)

Although we haven't included the code for EMD calculation, you can easily find the necessary Python tool in this link: https://pypi.org/project/pyemd/0.0.10/.

Hope this helps you :)

sungnyun commented 1 year ago

You can also refer to this repo. There's an easy-to-follow jupyter notebook.