-
Notifications
You must be signed in to change notification settings - Fork 45.8k
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 'unicode' is not defined on object_detection_evaluation.py #5369
Comments
Thank you for your post. We noticed you have not filled out the following field in the issue template. Could you update them if they are relevant in your case, or leave them as N/A? Thanks. |
I have fill it out. |
I also have the same problem and I am running on Ubuntu. |
#4982 comment and you need to do the same with 351 line. It works for me! |
Hi There, |
System information
Hello I have found a bug when I was trying to evaluate a model I trained myself.When i use the command python legacy/eval.py --logtostderr --checkpoint_dir= --pipeline_config_path= --eval_dir=.An error has occurred:File "\tensorflow-models\research\object_detection\utils\object_detection_evaluation.py", line 307, in evaluate
category_name = unicode(category_name, 'utf-8')
NameError: name 'unicode' is not defined
unicode() is note work on python 3.6,it should be str().I hope some people can fix this.
thanks.
The text was updated successfully, but these errors were encountered: