CharlesShang / TFFRCNN

FastER RCNN built on tensorflow
MIT License
874 stars 418 forks source link

NameError: name 'xrange' is not defined #132

Open wangjp970408 opened 6 years ago

wangjp970408 commented 6 years ago

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 commented 6 years ago

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.