-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Cython problem #160
Comments
|
How about trying re-install cython and then torchreid? |
(torchreid) C:\Users\khanax\Documents\deep-person-reid-master\torchreid\metrics\rank_cylib>python test_cython.py |
After re-install cython and torchreid, the warning message disappears. |
It seems to be related to the windows system. I searched several related discussions (e.g. this one) and could not find a solution for this. As I do not have windows system machine so cannot reproduce your error, sorry about that. |
I have same problem. Have you find a soluton? |
@raretomato any updates on this issue? |
I checked two points.
|
@raretomato Thanks. |
Could you please provide more details? I got the same error at point 2, and I changed long type to long long type in the 'rank_cy.pyx' file. However, after doing this, it still doesn't work. |
I have met exactly the same problem here about "long long" and "long". Here is my solution in 3 steps:
I have anaconda, phyton 3.7.7 under win10. import torchreid if name == "main": Now I have just succuessfully finished the training on 'cuhk01' and got the file '/log/resnet50\model.pth.tar-60' |
I tried manually deleting rank_cy file. it still gives the same error on windows. |
Any update on that Issue? I have the same problem on ubuntu and windows machines |
Facing the same issue while installing on an M2 MacOS environment. Any further updates? |
I installed TorchReID on another computer (win10, anaconda3) today with a new installation method (option 2) using conda.
After that, the message "rank.py:17: UserWarning: Cython evaluation (very fast) in unavailable, now use python evaluation" keeps appearing. I erased Cython and reinstalled it with the latest version, but it is still intact.
My Cython version is 0.29.7. Is not it compatible with the latest version of Cython?
The text was updated successfully, but these errors were encountered: