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

get_class_ind error in Python 3.6 #6

Open
liuyuyuil opened this issue Mar 29, 2018 · 1 comment
Open

get_class_ind error in Python 3.6 #6

liuyuyuil opened this issue Mar 29, 2018 · 1 comment

Comments

@liuyuyuil
Copy link

In python 3.6, the get_class_ind function (c / self.k) in magnet_tools.py may return float not integer value, which leads the following sq_dists[...]=np.inf invalid.

@ruc98
Copy link

ruc98 commented Jun 24, 2019

Can someone please explain this? @liuyuyuil did you find a solution?

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

2 participants