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

Reorganize configuration files #352

Merged
merged 2 commits into from
Jan 8, 2022
Merged

Reorganize configuration files #352

merged 2 commits into from
Jan 8, 2022

Conversation

adamjstewart
Copy link
Collaborator

See #227 for discussion on this.

With this PR, configuration settings needed for testing now live in tests/conf, while settings needed for reproducibility now live in conf. I've done my best to restore the defaults back to the settings when these files were originally added, but let me know if I've missed anything. Once @calebrob6 has all of these datasets on a HDD somewhere we can try running these to make sure the settings are valid and produce good results.

My goal for settings in tests/conf is to simplify the problem as much as needed so that the tests run quickly (small num_workers, batch_size, num_classes, etc.). My goal for settings in conf is to achieve state-of-the-art performance on datasets wherever possible. The defaults in this file should be reasonable (1 GPU, 4 workers, datasets in data), but can be overridden on the CLI if needed.

Unfortunately there isn't an easy way to test conf, and the settings in these files have rapidly become out-of-date. We'll have to be careful to update both locations in the future, not just tests/conf.

Closes #227

@github-actions github-actions bot added the testing Continuous integration testing label Jan 4, 2022
@adamjstewart adamjstewart merged commit 5136d81 into main Jan 8, 2022
@adamjstewart adamjstewart deleted the conf/refactor branch January 8, 2022 16:11
@adamjstewart adamjstewart added this to the 0.3.0 milestone Mar 19, 2022
@adamjstewart adamjstewart removed this from the 0.3.0 milestone Jul 10, 2022
yichiac pushed a commit to yichiac/torchgeo that referenced this pull request Apr 29, 2023
* Reorganize configuration files

* Undo changes to tests/conf files
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
testing Continuous integration testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Re-think how configs are handled in train.py
2 participants