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

Probably wrong info in a sentence - Beginner's Tutorial #41

Closed
parthi2929 opened this issue Dec 22, 2018 · 1 comment
Closed

Probably wrong info in a sentence - Beginner's Tutorial #41

parthi2929 opened this issue Dec 22, 2018 · 1 comment

Comments

@parthi2929
Copy link

Hi

Here in labels.csv, it is said that we have to add 'train' as prefix to filenames, but I already see the file names in csv having train as prefix. I am beginner newly reading these, so not sure if I am missing something so creating this issue.

Issue
image

My analysis:

def print_N_lines(f,N):
    c = 0
    with open(f) as infile:
        for line in infile:        
            print(line.replace('\n',''))
            c += 1
            if c == N:
                break

print_N_lines(os.path.join(planet,'labels.csv'),5)  # sneak peak at labels data in labels.csv

Output:

image_name,tags
train_31112,clear primary
train_4300,partly_cloudy primary water
train_39539,clear primary water
train_12498,agriculture clear primary road
@stas00
Copy link
Contributor

stas00 commented Feb 1, 2019

For fastai code and docs please use: https://github.com/fastai/fastai/issues/
Kindly resubmit if it's still relevant. Thank you.

@stas00 stas00 closed this as completed Feb 1, 2019
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

2 participants