Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在训练时,验证的时候报错,我不知道基本流程是什么样的 #15

Open
tengda1 opened this issue Nov 4, 2022 · 5 comments

Comments

@tengda1
Copy link

tengda1 commented Nov 4, 2022

No description provided.

@tengda1
Copy link
Author

tengda1 commented Nov 4, 2022

tuple indices must be integers or slices, not tuple

@chaoaibeidanci
Copy link

我也遇到了这个问题,不知道您解决了没

@tengda1
Copy link
Author

tengda1 commented Oct 17, 2023

我也遇到了这个问题,不知道您解决了没

这个代码我好像当时就直接没用了,因为我没运行起来,你也是做共指消解方向吗?

@chaoaibeidanci
Copy link

嗯,涉及到这个方向,那个问题我解决啦已经~

@Jeru2023
Copy link

Jeru2023 commented Mar 12, 2024

这个repo bug太多,requirement.txt都装不上去,你们是不是装了最新版本的sciki learn? 是的话改这里:

# Find the optimal assignment between the two sets of elements
matching = linear_sum_assignment(-scores)

# Convert the matching matrix to a matrix of integers
matching = matching.astype(int)

# Calculate the total similarity score
similarity = sum(scores[matching[:, 0], matching[:, 1]])

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants