Skip to content

Conversation

pmeier
Copy link
Collaborator

@pmeier pmeier commented Mar 2, 2021

No description provided.

@pmeier pmeier mentioned this pull request Mar 2, 2021
@pmeier pmeier requested a review from fmassa March 2, 2021 11:57
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.

Thanks!

if self.train:
return self.lens[self.name]
return len(self.matches)
return len(self.data if self.train else self.matches)
Copy link
Member

Choose a reason for hiding this comment

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

Thanks for the improvement!

@fmassa fmassa merged commit f637c63 into pytorch:master Mar 2, 2021
facebook-github-bot pushed a commit that referenced this pull request Mar 4, 2021
Summary:
* add tests for PhotoTour dataset

* fix grayscale image generation

* fix test_feature_types for a examples of a single feature

* make image size variable instead of hard coding it

* make dataset length variable instead of hard coding it

* replace numpy with torch

* fix typo

Reviewed By: fmassa

Differential Revision: D26756270

fbshipit-source-id: 62a8a7508be74580ca462089131f1aff4dd020cb
@pmeier pmeier deleted the test-phototour branch October 18, 2021 06:36
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