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

Run Detection Models from Terminal #23

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft

Conversation

bencevans
Copy link
Owner

@bencevans bencevans commented Jun 23, 2022

  • Kept arguments mostly inline with the MegaDetector run_batch_detector.py script.
  • Currently missing recursive, image queue and checkpoint functionality in comparison.

Once installed, allows a user to run the command with:

python -m camtrapml.scripts.batch_detection model_name path_to_image_dir path_to_output_json

Tasks left to do:

  • Add --recursive functionality matching MD script
  • Warn early if the path_to_output_json directory doesn't exist.

@bencevans bencevans linked an issue Jun 23, 2022 that may be closed by this pull request
@bencevans bencevans force-pushed the script-batch-detection branch 3 times, most recently from 5c8cb38 to f12fada Compare June 23, 2022 12:42
@bencevans bencevans changed the title feat: Run Detection Models from Terminal Run Detection Models from Terminal Jun 23, 2022
@bencevans
Copy link
Owner Author

@Hopscotch8 there are a few things I still need to do on this PR to be happy with it before merging. You're welcome to check out the branch and use it that way, alternatively, we've been working on a desktop app, Windows and macOS build are available under the Actions builds over at https://github.com/bencevans/megadetector-desktop. I'm not sure that the builds include CUDA yet though so will most likely just be processing on CPU rather than GPU.

@bencevans bencevans marked this pull request as draft July 19, 2022 15:11
* Kept arguments mostly inline with the MegaDetector run_batch_detector.py script.
* Currently missing recursive, image queue and checkpoint functionality in comparison.

Once installed, allows a user to run the command with:

    python -m camtrapml.scripts.batch_detection model_name path_to_image_dir path_to_output_json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Detection Models CLI
1 participant