Skip to content

NameError: name 'basestring' is not defined #6

@tranvnhan

Description

@tranvnhan

Hi.
I ran the inference using the command:
python inference.py --img_path=test_img.png --restore_from=/restore_weights/

but the error came out:

File "/home/nhan/git_workspace/Indoor-segmentation/network.py", line 78, in feed
if isinstance(fed_layer, basestring):
NameError: name 'basestring' is not defined

I look for basestring in network.py and basestring is really not defined.
Could you help me, please?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions