-
Notifications
You must be signed in to change notification settings - Fork 13
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
Not compatible with numpy>=1.12 #6
Comments
Hi, I ran test_malis.py and got the following: Traceback (most recent call last): Numpy is 1.12.1. Do you have any idea as to how to fix it? Thanks! |
I am suffering from the same problem as @hueifang for renum = np.zeros(int(segId.max()+1),dtype=np.uint64) It looks like there is no problem since p.s. My Numpy version is 1.14.5. |
@necrodancer: You can resolve this issue by building from source: ./make.sh. It appeared that the pip would install an old version that has the type error. |
@hueifang p.s. Should I close the issue? |
@necrodancer Glad it worked! ps. hmm... I don't know. It's my first time, too. :) |
Numpy 1.12 dropped support for indexing with floats: https://docs.scipy.org/doc/numpy-1.12.0/release.html#deprecationwarning-to-error
I think malis does this in seg_to_affgraph... I'll provide more details later
The text was updated successfully, but these errors were encountered: