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

报错如何修改? #7

Open
ChenXiao61 opened this issue Apr 7, 2019 · 0 comments
Open

报错如何修改? #7

ChenXiao61 opened this issue Apr 7, 2019 · 0 comments

Comments

@ChenXiao61
Copy link

    for lines in lines_list:
        line=lines.rstrip().split(' ')
        label=[]
        for i in range(labels_num):
            label.append(int(line[i+1]))
        images.append(line[0])
        labels.append(label)

File "/home/admin-pc/Documents/tensorflow_models_learning-master/create_tf_record.py", line 77, in load_labels_file
label.append(int(line[i+1]))
ValueError: invalid literal for int() with base 10: ''

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

1 participant