Skip to content

Commit b8fbe6d

Browse files
update gitignore
1 parent 3a52a6e commit b8fbe6d

File tree

4 files changed

+33
-2
lines changed

4 files changed

+33
-2
lines changed

Diff for: .gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ celerybeat.pid
104104
# Environments
105105
.env
106106
*.env
107+
!test_config.env
107108
.venv
108109
env/
109110
venv/

Diff for: pytest.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[pytest]
22
filterwarnings =
3-
ignore::DeprecationWarning
3+
ignore::DeprecationWarning

Diff for: tests/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"""Unit test package for aces."""
1+
"""Unit test package for aces."""

Diff for: tests/test_config.env

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
BASEDIR="./tests"
2+
DATADIR="test_data"
3+
OUTPUT_DIR="output"
4+
MODEL_DIR_NAME="dnn_model"
5+
MODEL_TYPE="dnn"
6+
FEATURES="red_before
7+
green_before
8+
blue_before
9+
nir_before
10+
red_during
11+
green_during
12+
blue_during
13+
nir_during"
14+
LABELS="class"
15+
PATCH_SHAPE=(256, 256)
16+
TRAIN_SIZE=8531
17+
TEST_SIZE=1222
18+
VAL_SIZE=2404
19+
SCALE=10
20+
DROPOUT_RATE=0.2
21+
BATCH_SIZE=64
22+
EPOCHS=5
23+
LOSS="categorical_crossentropy"
24+
ACTIVATION_FN="softmax"
25+
OPTIMIZER="adam"
26+
# "cropland_etc", "rice", "forest", "urban", "others_water_etc"
27+
OUT_CLASS_NUM=5
28+
MODEL_CHECKPOINT_NAME="modelCheckpoint"
29+
30+
OUTPUT_NAME = "prediction_dnn"

0 commit comments

Comments
 (0)