Skip to content
This repository has been archived by the owner on Jan 7, 2025. It is now read-only.

Expose common dataset interface #723

Merged
merged 1 commit into from
May 13, 2016

Conversation

gheinrich
Copy link
Contributor

This will allow to create new types of datasets without making changes in other parts of DIGITS.

Ultimately, class relationships may look like:
data-classes

@lukeyeager
Copy link
Member

I like the direction! Looks like this is a work-in-progress?

Looks like you removed json_dict from DatasetJob and didn't add it to GenericImageDatasetJob.

@gheinrich
Copy link
Contributor Author

I didn't base this commit on the latest version of master because of the parameter-sweep issue. Other than that, I feel this could be good to merge if it passes the test of your most accurate review filter :-)

I didn't add json_dict to GenericImageDatasetJob because the version I removed from DatasetJob was classification specific (i.e. it had no effect on the generic path).

@gheinrich gheinrich force-pushed the dev/common-dataset-interface branch from 2399472 to 351f2c3 Compare May 10, 2016 15:21
@gheinrich
Copy link
Contributor Author

Rebased on tip of master branch.

This will allow to create new types of datasets without making changes in other parts of DIGITS.
@gheinrich gheinrich force-pushed the dev/common-dataset-interface branch from 351f2c3 to bec92de Compare May 11, 2016 19:58
@gheinrich gheinrich mentioned this pull request May 13, 2016
6 tasks
@lukeyeager
Copy link
Member

I think this is working. I ran into some Torch errors, but I don't think they were related.

@lukeyeager lukeyeager merged commit 3bad449 into NVIDIA:master May 13, 2016
@gheinrich gheinrich deleted the dev/common-dataset-interface branch May 24, 2016 11:19
gheinrich added a commit to gheinrich/DIGITS that referenced this pull request May 27, 2016
The resize mode is no longer used by the test.lua Torch wrapper.
Besides this field isn't part of the common dataset interface.
Using it is causing problems during multiple image inference in Torch when using generic datasets.
This should have been changed in NVIDIA#723
gheinrich added a commit to gheinrich/DIGITS that referenced this pull request May 27, 2016
The resize mode is no longer used by the test.lua Torch wrapper.
Besides this field isn't part of the common dataset interface.
Using it is causing problems during multiple image inference in Torch when using generic datasets.
This should have been changed in NVIDIA#723
gheinrich added a commit to gheinrich/DIGITS that referenced this pull request May 27, 2016
The common dataset interface exposes a get_mean_file() method to retrieve the mean file.
Using the dataset.mean_file attribute only works for "images/generic" datasets.
This should have been changed in NVIDIA#723
gheinrich added a commit to gheinrich/DIGITS that referenced this pull request May 27, 2016
The resize mode is no longer used by the test.lua Torch wrapper.
Besides this field isn't part of the common dataset interface.
Using it is causing problems during multiple image inference in Torch when using generic datasets.
This should have been changed in NVIDIA#723
SlipknotTN pushed a commit to cynnyx/DIGITS that referenced this pull request Mar 30, 2017
SlipknotTN pushed a commit to cynnyx/DIGITS that referenced this pull request Mar 30, 2017
The resize mode is no longer used by the test.lua Torch wrapper.
Besides this field isn't part of the common dataset interface.
Using it is causing problems during multiple image inference in Torch when using generic datasets.
This should have been changed in NVIDIA#723
SlipknotTN pushed a commit to cynnyx/DIGITS that referenced this pull request Mar 30, 2017
The common dataset interface exposes a get_mean_file() method to retrieve the mean file.
Using the dataset.mean_file attribute only works for "images/generic" datasets.
This should have been changed in NVIDIA#723
SlipknotTN pushed a commit to cynnyx/DIGITS that referenced this pull request Mar 30, 2017
The resize mode is no longer used by the test.lua Torch wrapper.
Besides this field isn't part of the common dataset interface.
Using it is causing problems during multiple image inference in Torch when using generic datasets.
This should have been changed in NVIDIA#723
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants