Skip to content

Commit

Permalink
update gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
biplovbhandari committed Jul 7, 2024
1 parent 3a52a6e commit b8fbe6d
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ celerybeat.pid
# Environments
.env
*.env
!test_config.env
.venv
env/
venv/
Expand Down
2 changes: 1 addition & 1 deletion pytest.ini
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[pytest]
filterwarnings =
ignore::DeprecationWarning
ignore::DeprecationWarning
2 changes: 1 addition & 1 deletion tests/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
"""Unit test package for aces."""
"""Unit test package for aces."""
30 changes: 30 additions & 0 deletions tests/test_config.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
BASEDIR="./tests"
DATADIR="test_data"
OUTPUT_DIR="output"
MODEL_DIR_NAME="dnn_model"
MODEL_TYPE="dnn"
FEATURES="red_before
green_before
blue_before
nir_before
red_during
green_during
blue_during
nir_during"
LABELS="class"
PATCH_SHAPE=(256, 256)
TRAIN_SIZE=8531
TEST_SIZE=1222
VAL_SIZE=2404
SCALE=10
DROPOUT_RATE=0.2
BATCH_SIZE=64
EPOCHS=5
LOSS="categorical_crossentropy"
ACTIVATION_FN="softmax"
OPTIMIZER="adam"
# "cropland_etc", "rice", "forest", "urban", "others_water_etc"
OUT_CLASS_NUM=5
MODEL_CHECKPOINT_NAME="modelCheckpoint"

OUTPUT_NAME = "prediction_dnn"

0 comments on commit b8fbe6d

Please sign in to comment.