diff --git a/rope/GUI.py b/rope/GUI.py index 72b5cf2..2437f84 100644 --- a/rope/GUI.py +++ b/rope/GUI.py @@ -1444,10 +1444,6 @@ def set_video_slider_length(self, video_length): def findCosineDistance(self, vector1, vector2): cos_dist = 1 - np.dot(vector1, vector2)/(np.linalg.norm(vector1)*np.linalg.norm(vector2)) # 2..0 - n1 = np.linalg.norm(vector1) - n2 = np.linalg.norm(vector2) - dot = np.dot(n1, n2) - print('dot', n1, n2, dot) return 100-cos_dist*50