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 Feature to Use Config Files #17

Merged
merged 10 commits into from
Jun 13, 2022
Merged

Add Feature to Use Config Files #17

merged 10 commits into from
Jun 13, 2022

Conversation

ajndkr
Copy link
Member

@ajndkr ajndkr commented Jun 11, 2022

This PR adds a new feature to use config file to load pass model checkpoint paths when running dot.

This feature update maintains backward compatibility with existing CLI options. If a config file is passed, only selective parameters are overriden by the loaded config dictionary.

Closes #4.

Changelog

Added:

  • 🔧 added new config files
  • ✨ added feature to load config files in dot.__main__.main()

Updated:

  • 📝 updated usage instructions in README

@ajndkr ajndkr added documentation Improvements or additions to documentation feature New feature or request labels Jun 11, 2022
@ajndkr ajndkr requested review from giorgiop and ghassen1302 June 11, 2022 21:41
@ajndkr ajndkr self-assigned this Jun 11, 2022
@giorgiop
Copy link
Member

Do we want to update also the script without camera, so that they can run using the configs?

@ajndkr
Copy link
Member Author

ajndkr commented Jun 12, 2022

Sure I will update the doc.

@giorgiop
Copy link
Member

Are we solving this path issues too? #12 (comment)

@ajndkr
Copy link
Member Author

ajndkr commented Jun 12, 2022

Are we solving this path issues too? #12 (comment)

Nope. I think it should be handled in a different PR. I believe @Ghassen-Chaabouni might already be working on this.

I'll create a new issue to resolve this.

@ajndkr ajndkr requested a review from ghassen1302 June 13, 2022 08:08
@ajndkr ajndkr merged commit 0f14d41 into main Jun 13, 2022
@ajndkr ajndkr deleted the feature/4-implement-configs branch June 13, 2022 08:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use configs file for loading files instead of paths
3 participants