Skip to content
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

NameError: name 'xrange' is not defined #132

Open
wangjp970408 opened this issue Apr 28, 2018 · 1 comment
Open

NameError: name 'xrange' is not defined #132

wangjp970408 opened this issue Apr 28, 2018 · 1 comment

Comments

@wangjp970408
Copy link

UnknownError (see above for traceback): NameError: name 'xrange' is not defined
[[Node: PyFunc = PyFunc[Tin=[DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_STRING, DT_INT32, DT_INT32], Tout=[DT_FLOAT], token="pyfunc_0", _device="/job:localhost/replica:0/task:0/cpu:0"](Reshape_2/_83, rpn_bbox_pred/BiasAdd/_85, _arg_Placeholder_1_0_1, PyFunc/input_3, PyFunc/input_4, PyFunc/input_5)]]

I use python3.5 Anaconda ,and i have changed all "xrange" to "range", but i also meet this problem...And i don't know what happen...
I think i need some help...
Thanks!

@surajitsaikia27
Copy link

This could happen only if there is still a file where xrange is defined
you can type grep -Ril "xrange" in your directory to check it where it is.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants