-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Cannot use tracker due to outdated use of numoy in cython bbox package #1148
Comments
Hi, You can use my package where I simply replaced the type here : https://github.com/valentin-fngr/cython_bbox |
Thanks it seems to have solved the issue, I will try now to see how I can use the tracking feature of alphapose. Edit: I spoke too quickly, even installing your package as you described, still getting the same error: This time I could get this changed in the code from alphapose so that should solve it. However a new error appeared: Any idea about what this is? DTYPE_t seems to be a cython defined type |
Hi, So, I was dealing with a similar problem yesterday and realized that the alphapose code itself (not the cython package), uses np.float. This solved the issue for me. Regarding the DTYPE_t, I did not have this error but make sure you are not giving a np.float64 as input to the cython_bbox functions. |
Hi, Indeed I tried that too yesterday but ended up giving me the DTYPE_t problem. I'll keep searching and post here if I find any solution. Thank you for your help! |
Hi, |
EASY way to solve it but u would say I'm crazy xD 2 go download https://github.com/yanfengliu/cython_bbox#3 edit cython_bbox.pyx (CHANGE LINE 12 : DTYPE = np.float TO DTYPE = np.float32)and the use pip install . |
The above comment did not work for me, but the same procedure with the other github did work! The model now runs on every image, but the JSON Serializer cannot handle the float32. If anyone finds a solution, please come forward.
|
Great thanks for your help! It seems to be working for now implementing what @bmmtstb suggested! |
For me there are still two questions open:
|
@bmmtstb maybe next time u use my advice on how to debug its better mention my work. |
Hi, I am trying to use the trackers recommended with alphapose, however the cython bbox packages still uses the deprecated method numpy.float instead of directly float or numpy.float64. Is there any workaround for this? One way is to downgrade numpy, this is not a possibility due to conflict with several other packages.
The text was updated successfully, but these errors were encountered: