-
Notifications
You must be signed in to change notification settings - Fork 908
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
possible SciKit Learn version issue #26
Comments
Issue solved: In
This would cause n_neighbors to be 10.0 and not 10, which leads to the indexing error. I believe later versions of numpy and sklearn have become more strict about not allowing index variables to be integer-valued float dtypes. n_neighbors=NN shold read n_neighbors=self.NN. That line should be changed to:
Hope this helps anyone else with this issue. |
Thank you ,I solved. |
@AruniRC oh man you save me!thank you so much! |
When training the network from scratch using
./train/train_model.sh 0
, the following error happens at the "Solving LtoAB" step of the training:The data
pts_flt
is a float32 numpy ndarray. Could this be due to a version problem in sklearn itself (I am using 0.18.1)?Please let me know what version of scikit is used for this codebase and I'll match that and try training again.
thanks,
Aruni
The text was updated successfully, but these errors were encountered: