Skip to content

Commit

Permalink
fix(settings): add global variables for epochs and batch size limits
Browse files Browse the repository at this point in the history
  • Loading branch information
kshitijrajsharma committed Dec 6, 2024
1 parent eb0eb4f commit 02be49c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions backend/aiproject/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,10 @@

# Limiter


EPOCHS_LIMIT = env("EPOCHS_LIMIT", default=20) ## TODO : Remove this global variable
BATCH_SIZE_LIMIT = env("BATCH_SIZE_LIMIT", default=8)

## YOLO
YOLO_EPOCHS_LIMIT = env("YOLO_EPOCHS_LIMIT", default=200)
YOLO_BATCH_SIZE_LIMIT = env("YOLO_BATCH_SIZE_LIMIT", default=8)
Expand Down

0 comments on commit 02be49c

Please sign in to comment.