Skip to content

Commit

Permalink
update .env
Browse files Browse the repository at this point in the history
  • Loading branch information
tannyle289 committed Aug 27, 2024
1 parent 54df435 commit 214304a
Showing 1 changed file with 31 additions and 18 deletions.
49 changes: 31 additions & 18 deletions .env
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
# Environment variables
# Model parameters
MODEL_NAME = "yolov8n.pt"
MODEL_NAME="yolov8n.pt"
MODEL_NAME_2="your_second_model.pt"
DATASET_FORMAT="yolov8"
MODEL_ALLOWED_CLASSES="0"
MODEL_2_ALLOWED_CLASSES="0"

#Dataset parameters
DATASET_FORMAT="base"
DATASET_VERSION="1"
DATASET_UPLOAD="True"

# Forwarding
FORWARDING_MEDIA = "True"
REMOVE_AFTER_PROCESSED = "True"
FORWARDING_MEDIA="True"
REMOVE_AFTER_PROCESSED="True"

# Queue parameters
QUEUE_NAME="data-harvesting"
Expand All @@ -23,26 +27,35 @@ STORAGE_URI="https://vault.xxx.xx/api"
STORAGE_ACCESS_KEY="xxxx"
STORAGE_SECRET_KEY="xxx"

#Integration parameters
INTEGRATION_NAME="roboflow"

# Roboflow parameters
RBF_API_KEY = "xxx"
RBF_WORKSPACE = "xxx"
RBF_PROJECT = "xxx"
RBF_API_KEY="xxx"
RBF_WORKSPACE="xxx"
RBF_PROJECT="xxx"

#S3 parameters
S3_ENDPOINT="xxx"
S3_ACCESS_KEY="xxx"
S3_SECRET_KEY="xxx"
S3_BUCKET="xxx"

# Feature parameters
PLOT = "True"
SAVE_VIDEO = "True"
MEDIA_SAVEPATH = "data/video/video_in.mp4"
OUTPUT_MEDIA_SAVEPATH = "data/video/video_out.mp4"
PLOT="True"
MEDIA_SAVEPATH="data/video/video_in.mp4"
SAVE_VIDEO="True"
OUTPUT_MEDIA_SAVEPATH="data/video/video_out.mp4"
REMOVE_AFTER_PROCESSED="False"

TIME_VERBOSE = "True"
LOGGING = "True"
TIME_VERBOSE="True"
LOGGING="True"

# Classification parameters
CLASSIFICATION_FPS = "5"
CLASSIFICATION_THRESHOLD = "0.2"
MAX_NUMBER_OF_PREDICTIONS = "100"
ALLOWED_CLASSIFICATIONS = "0, 1, 2, 3, 4, 5, 6, 7, 8, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 26, 28"
CLASSIFICATION_FPS="5"
CLASSIFICATION_THRESHOLD="0.2"
MAX_NUMBER_OF_PREDICTIONS="100"
FRAMES_SKIP_AFTER_DETECT="50"
ALLOWED_CLASSIFICATIONS="0,1,2,3,4,5,6,7,8,14,15,16,17,18,19,20,21,22,23,24,26,28"
MIN_DETECTIONS="1"
IOU="0.85"
IOU="0.85"

0 comments on commit 214304a

Please sign in to comment.