-
I am using your code from face_distance.py
How can I calculate the matching in percentage? Can I simply re-write
(1 - face_distance)%
```
for i, face_distance in enumerate(face_distances):
…
-
Hi, I was just wondering what part of the code calculates distances for vanilla HDBSCAN and if this could be easily replaced by a custom metric?
My use-case is that I have around 77 million data po…
-
In [face_restoration_helper.py](https://github.com/sczhou/CodeFormer/blob/master/facelib/utils/face_restoration_helper.py), I noticed the indices used in eye distance calculation were incorrect
https…
-
Hi there!
I try to analyze GPX tracks I exported from ForRunners. I use [gpxpy](https://github.com/tkrajina/gpxpy) and I definitely get differences in pace and distance calculations. Here is the [gp…
-
k-means function:
The option for distance calculation is now default euclidean squared, but is not yet implemented as option.
-
Have external distance calculations in another repo
Connect through plugin
```
class MapToMapDistance:
def __init__(self, config):
self.config = config
def get_distance(se…
-
![question](https://user-images.githubusercontent.com/54052915/187137988-b148c52b-331d-4afa-aaca-ba121fbb3af1.jpg)
为什么i,j越匹配,di,j的值越大呢?不应该是代价越小吗?
-
Did I understand correctly, that you are using the following formula to calculate the euclidian distance in the CA-module?
d(a, b) = sqrt( ||a||^2 + ||b||^2 - 2*a*b )
https://github.com/Forty-l…
-
In the source code, the author calculates the cosine distance as follows.
sum_support = torch.sum(torch.pow(support_image, 2), 1)
support_manitude = sum_support.clamp(eps, float("…
-
**Description:** The visibility distance calculation is wrong for gobs and creatures.
For this reason we get some weird result like this: https://imgur.com/a/88vi0XA and visibility distance is …