Skip to content

Added KITTI dataset #3640

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

Merged
merged 14 commits into from
Apr 9, 2021
Merged

Conversation

prabhat00155
Copy link
Contributor

Discussion: #3562

@prabhat00155
Copy link
Contributor Author

I see tests failing due to pandas import error. Should I add it to config.yml?

Copy link
Member

@NicolasHug NicolasHug left a comment

Choose a reason for hiding this comment

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

Thanks @prabhat00155 , I just made a quick review.

Regarding the dependency on pandas: once the test is ported to use ImageDatasetTestCase, you can set REQUIRED_PACKAGES = ("pandas",). Feel free to take a look at the CelebATestCase class which also relies on pd.read_csv.

Copy link
Member

@fmassa fmassa left a comment

Choose a reason for hiding this comment

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

The PR looks great, thanks a lot @prabhat00155 !

I've made a few more comments, let me know what you think

@fmassa
Copy link
Member

fmassa commented Apr 8, 2021

Windows test failures seem related, can you have a look?

Copy link
Member

@NicolasHug NicolasHug left a comment

Choose a reason for hiding this comment

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

Thanks @prabhat00155 ,

The tests look great!

I think you'll also need to add the dataset in docs/source/datasets.rst so that the docs are rendered properly. You can check the docs locally or in this PR: click on the build_docs CI run, and then "Artifacts" tab

Pinging @pmeier for another look ;)

Copy link
Member

@fmassa fmassa left a comment

Choose a reason for hiding this comment

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

Looks great to me, thanks a lot @prabhat00155 !

Would be good to have @pmeier have a look as well

@prabhat00155 prabhat00155 force-pushed the prabhat00155/add_kitti_dataset branch from de72936 to 2920913 Compare April 8, 2021 16:35
Copy link
Collaborator

@pmeier pmeier left a comment

Choose a reason for hiding this comment

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

@prabhat00155 Looks good overall! I have a few comments below, though.

@prabhat00155 prabhat00155 requested a review from pmeier April 9, 2021 11:20
@prabhat00155
Copy link
Contributor Author

@prabhat00155 Looks good overall! I have a few comments below, though.

@pmeier Addressed your comments, could you take a look? Thanks!

Copy link
Collaborator

@pmeier pmeier left a comment

Choose a reason for hiding this comment

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

One minor thing left. Otherwise LGTM. Thanks a lot @prabhat00155!

@fmassa
Copy link
Member

fmassa commented Apr 9, 2021

Thanks a ton @prabhat00155 !

@fmassa fmassa merged commit 7da9afe into pytorch:master Apr 9, 2021
@prabhat00155 prabhat00155 deleted the prabhat00155/add_kitti_dataset branch April 9, 2021 16:38
facebook-github-bot pushed a commit that referenced this pull request Apr 13, 2021
Summary:
* Added KITTI dataset

* Addressed review comments

* Changed type of target to List[Dict] and corrected the data types of the returned values.

* Updated unit test to rely on ImageDatasetTestCase

* Added kitti to dataset documentation

* Cleaned up test and some minor changes

* Made data_url a string instead of a list

* Removed unnecessary try and print

Reviewed By: NicolasHug

Differential Revision: D27706941

fbshipit-source-id: aa646f17e7ad5a0858320274cc2ec226fa8f4790

Co-authored-by: Francisco Massa <fvsmassa@gmail.com>
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.

5 participants