-
Notifications
You must be signed in to change notification settings - Fork 137
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
some modifications for python3 to work #15
Comments
thank you! it's very nice! |
@captainst mind send a PR? I guess that |
因为我下载的init函数是空的,您可以通过电子邮件将文件发送给我吗?我的电子邮件 [[email protected])。非常感谢! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There are some minor modifications in order to make this great project work with python3
In shape_context.py, change from utils import pairwise_distance to from utils.utils import pairwise_distance
In utils.py, change all instances of xrange to range
In utils.py, line 117, change hi, wi = height/n, width/n to hi, wi = height//n, width//n
Hope it helps.
The text was updated successfully, but these errors were encountered: