-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
734ee83
commit 15a256b
Showing
1 changed file
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,39 @@ | ||
# object-store-scripts | ||
|
||
Directory to download images from Jasmin object store and perform inference to: | ||
- detect objects | ||
- classify objects as moth or non-moth | ||
- identify the order | ||
- determine the moth species | ||
|
||
## Installation | ||
|
||
To install the required packages, run the following command: | ||
|
||
```bash | ||
pip install -r requirements.txt | ||
``` | ||
|
||
## Usage | ||
|
||
To run the script, use the following command: | ||
|
||
```bash | ||
python s3_download_with_inference.py \ | ||
--country "Costa Rica" \ | ||
--deployment "Forest Edge - EC4AB109" \ | ||
--keep_crops | ||
``` | ||
|
||
Or to run on baskerville: | ||
|
||
```bash | ||
sbatch cr_analysis.sh | ||
``` | ||
|
||
|
||
To download interactively, and without inference and subsequent image deletion: | ||
|
||
```bash | ||
python s3_download_async.py | ||
``` |