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

Add train entrypoint #228

Closed
adamjstewart opened this issue Nov 8, 2021 · 2 comments · Fixed by #1559
Closed

Add train entrypoint #228

adamjstewart opened this issue Nov 8, 2021 · 2 comments · Fixed by #1559
Assignees
Labels
scripts Training and evaluation scripts
Milestone

Comments

@adamjstewart
Copy link
Collaborator

Python has a concept of "entrypoints" that allow you to do something like:

$ torchgeo train conf=...

and run train.py. We should look into incorporating this. We'll also want to install the conf files somewhere and teach TorchGeo how to find them. The tricky part is making both of the following work:

$ python train.py conf=...
$ torchgeo train conf=...

since both the training file and the conf files will be in different locations in those two cases.

@adamjstewart adamjstewart added this to the 0.2.0 milestone Nov 20, 2021
@adamjstewart
Copy link
Collaborator Author

Some docs on how to implement this: https://python-packaging.readthedocs.io/en/latest/command-line-scripts.html

@adamjstewart adamjstewart modified the milestones: 0.2.0, 0.3.0 Jan 1, 2022
@adamjstewart adamjstewart modified the milestones: 0.3.0, 0.4.0 Jul 9, 2022
@adamjstewart adamjstewart removed this from the 0.4.0 milestone Dec 6, 2022
@adamjstewart adamjstewart self-assigned this Sep 4, 2023
@adamjstewart adamjstewart added this to the 0.5.0 milestone Sep 4, 2023
@adamjstewart
Copy link
Collaborator Author

@adamjstewart adamjstewart added the scripts Training and evaluation scripts label Sep 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scripts Training and evaluation scripts
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant