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

Test solvers on fixed hdf5 data #2887

Merged
merged 2 commits into from
Aug 9, 2015
Merged

Conversation

shelhamer
Copy link
Member

For simplicity and determinism the solver tests are given fixed hdf5 input.

The current arrangement of using random dummy data introduces subtleties in the order of execution that add complexity and test artifacts.
In particular, it makes it awkward to test accumulation and multi-GPU solving.

Rely on fixed hdf5 data for determinism of solver tests.

- draw random Gaussian data and targets for test and save to hdf5
- use the same data for all tests without constant / gaussian condition
  previously needed for accumulation
- avoid test artifacts due to order of random draws in dummy data
@jeffdonahue
Copy link
Contributor

Cool, LGTM. Feel free to merge as makes sense with #2870.

@shelhamer
Copy link
Member Author

Merging as I think this is an improvement in itself and reduces the RNG confusion. The multi-GPU tests will be handled by #2870.

shelhamer added a commit that referenced this pull request Aug 9, 2015
@shelhamer shelhamer merged commit 7bd2959 into BVLC:master Aug 9, 2015
@shelhamer shelhamer deleted the solver-test-data branch August 9, 2015 19:35
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.

None yet

2 participants