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

Sf submission #137

Merged
merged 13 commits into from
Mar 28, 2023
Merged

Sf submission #137

merged 13 commits into from
Mar 28, 2023

Conversation

nchodosh
Copy link
Contributor

PR Summary

Added more tests to cover the validation of submission files fully. Also added a function for evaluating zipped predictions.

Testing

In order to ensure this PR works as intended, it is:

  • unit tested.
  • other or not applicable (additional detail/rationale required)

Compliance with Standards

As the author, I certify that this PR conforms to the following standards:

  • Code changes conform to PEP8 and docstrings conform to the Google Python style guide.
  • A well-written summary explains what was done and why it was done.
  • The PR is adequately tested and the testing details and links to external results are included.

src/av2/evaluation/scene_flow/eval.py Outdated Show resolved Hide resolved
src/av2/evaluation/scene_flow/eval.py Outdated Show resolved Hide resolved
src/av2/evaluation/scene_flow/eval.py Outdated Show resolved Hide resolved
src/av2/evaluation/scene_flow/eval.py Outdated Show resolved Hide resolved
"""
pred_file = predictions_dir / annotation_name
if not pred_file.exists():
return None
Copy link
Collaborator

Choose a reason for hiding this comment

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

I would either raise an error here or change the return type to Optional[pd.Dataframe].

if path.exists():
return pd.read_feather(zf.open(name))
else:
return None
Copy link
Collaborator

Choose a reason for hiding this comment

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

I would either raise an error here or change the return type to Optional[pd.Dataframe].

@benjaminrwilson benjaminrwilson merged commit 475322e into argoverse:main Mar 28, 2023
@benjaminrwilson benjaminrwilson deleted the sf-submission branch March 28, 2023 14:59
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

Successfully merging this pull request may close these issues.

None yet

2 participants