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

Convert bdd100k dataset in python benchmarks #131

Merged
merged 2 commits into from
Sep 5, 2022
Merged

Convert bdd100k dataset in python benchmarks #131

merged 2 commits into from
Sep 5, 2022

Conversation

eddyxu
Copy link
Contributor

@eddyxu eddyxu commented Aug 29, 2022

No description provided.

Copy link
Contributor

@changhiskhan changhiskhan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nits

return table["image_uri"].to_numpy()

def get_schema(self):
schema = pa.schema(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: it would be a little easier to parse the schema if labels and attributes were defined separately (so final schema fields are all on the same level and it's easy to scan.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure I understand. Could you give an example?

return schema


@click.command
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we make this a generic superclass method as well (like with benchmark suite)? Feels very similar between the 3 different benchmark cases.

@eddyxu eddyxu merged commit e59b66a into main Sep 5, 2022
@eddyxu eddyxu deleted the lei/parse_bdd branch September 5, 2022 20:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants