Where is medoid used?
r-matsuzaka opened this issue · 3 comments
Hi.
I have a question about implementation about medoid which is mentioned in the paper.
I found the calculation of it is done at
EmbedSeg/EmbedSeg/utils/generate_crops.py
Line 84 in 50f2323
But I could not found the clue that this funtion is called from any other python scripts.
Could you tell me how the medoid is used in the code?
Sorry, I found https://github.com/juglab/EmbedSeg/blob/main/examples/2d/dsb-2018/01-data.ipynb
It is called as process_one_hot.
Hello @r-matsuzaka Thanks for looking into the code. The medoid, as you found out, is used by the process function which makes a call to the generate_center_image function --> this is where the medoid is computed.
Thank you so much!