Repository navigation
Expand file tree
/
Copy path.env.example
More file actions
29 lines (26 loc) · 1.57 KB
/
Copy path.env.example
File metadata and controls
29 lines (26 loc) · 1.57 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
AMI_DATABASE_URL=sqlite+pysqlite:////home/username/Projects/AMI/USERDATA/trapdata.db
# AMI_DATABASE_URL=postgresql://postgres@localhost:5432/ami
AMI_USER_DATA_PATH=/home/username/Projects/AMI/USERDATA/
AMI_IMAGE_BASE_PATH=/home/username/Projects/AMI/TRAPDATA/Denmark/Trap1/
AMI_SPECIES_CLASSIFICATION_MODEL="UK & Denmark Species Classifier"
AMI_FEATURE_EXTRACTOR="Features from UK/Denmark species model"
AMI_CLASSIFICATION_THRESHOLD=0.6
AMI_LOCALIZATION_BATCH_SIZE=2
AMI_CLASSIFICATION_BATCH_SIZE=20
AMI_NUM_WORKERS=1
# Antenna API Worker Settings (for processing jobs from Antenna platform)
# See: https://github.com/RolnickLab/antenna
AMI_ANTENNA_API_BASE_URL=http://localhost:8000/api/v2
AMI_ANTENNA_API_AUTH_TOKEN=your_antenna_auth_token_here
AMI_ANTENNA_API_BATCH_SIZE=4
AMI_ANTENNA_SERVICE_NAME="AMI Data Companion"
# Pipelines to offer, as a comma-separated list of slugs (the keys of CLASSIFIER_CHOICES in
# trapdata/api/api.py). The API server, the Antenna worker and `ami worker register` load
# models only for these pipelines. Leave unset to offer every pipeline.
# AMI_PIPELINES=moth_binary,global_moths_2024
# Where model weights and sample trap images are downloaded from. Leave these unset to use
# the project's public object store. Set them to download from another object store, such
# as one on the same network as a compute cluster. The URL must use https://, unless the
# store runs on this machine (localhost, 127.0.0.1 or ::1), where plain http:// is accepted.
# AMI_MODEL_BASE_URL=https://models.example.org/ami-models/
# AMI_IMAGE_BASE_URL=https://models.example.org/ami-trapdata/