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

add header=None to pd.read_csv #148

Open
samrere opened this issue Mar 26, 2023 · 0 comments
Open

add header=None to pd.read_csv #148

samrere opened this issue Mar 26, 2023 · 0 comments

Comments

@samrere
Copy link

samrere commented Mar 26, 2023

Hi just wanna report a small mistake in YOLO dataset.py

 class VOCDataset(...):
    def __init__(...):
        self.annotations = pd.read_csv(csv_file)

should be self.annotations = pd.read_csv(csv_file, header=None), otherwise the first line of the file is used as header and thus not used in training/testing

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