-
Notifications
You must be signed in to change notification settings - Fork 7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add tests for the PhotoTour dataset (#3486)
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
- Loading branch information
1 parent
87b2a98
commit 2b2fc2f
Showing
3 changed files
with
100 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters