Skip to content

Commit

Permalink
fixed some console spam
Browse files Browse the repository at this point in the history
  • Loading branch information
Hillobar authored May 27, 2024
1 parent b199e54 commit 3fb328e
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions rope/GUI.py
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down

0 comments on commit 3fb328e

Please sign in to comment.