Skip to content Skip to sidebar Skip to footer

Typeerror: Expected Binary Or Unicode String, Got Item Error

Hi! Beginner here. I have a tensorflow, I am doing a hand gesture recognition system. The problem is, I have no idea how to fix this error. I don't want to modify the .py files bec

Solution 1:

I had the same issue when I followed that video. Go into Workspace->Scripts and open generate_tf record with a text editor

replace

label_map = label_map_util.load_labelmap(args.labels_path)
label_map_dict = label_map_util.get_label_map_dict(label_map)

with

label_map_dict = label_map_util.get_label_map_dict(args.labels_path)

It should work.

Post a Comment for "Typeerror: Expected Binary Or Unicode String, Got Item Error"