forked from olgaliak/active-learning-detect
-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathconfig_devtest.ini
More file actions
58 lines (58 loc) · 2.53 KB
/
config_devtest.ini
File metadata and controls
58 lines (58 loc) · 2.53 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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# AZURE STORAGE ACCOUNT INFORMATION
AZURE_STORAGE_ACCOUNT=usgsaerialimages
AZURE_STORAGE_KEY=NEED-KEY-HERE
image_container_name=devtest-images
label_container_name=devtest-labels
pred_model_name=model_1593140460.pb
pred_dir=None
min_tile_size=600
max_tile_size=1024
# IMAGE INFORMATION
user_folders=True
classes=dark_bird,marine_mammal,dark_bird_f,light_bird_f,light_bird,trash
filetype=*.JPG
# TRAINING MACHINE
# Locationss
python_file_directory=/home/cmi/active-learning-detect/train
data_dir=~/data/usgs_2019pred
train_dir=~/data/usgs_2019pred/training
inference_output_dir=~/data/usgs_2019pred/training/usgs_2019_inference_graphs
tf_models_location=/home/cmi/repos/models/research
download_location=/home/cmi/downloads
# Training
train_iterations=20000
eval_iterations=100
min_confidence=.01
test_percentage=.15
model_name=faster_rcnn_inception_v2_coco_2018_01_28
optional_pipeline_url=https://raw.githubusercontent.com/tensorflow/models/master/research/object_detection/samples/configs/faster_rcnn_inception_v2_coco.config
#Init Predictions
init_model_name=faster_rcnn_resnet101_coco_2018_01_28
# Config File Details
old_label_path=PATH_TO_BE_CONFIGURED/mscoco_label_map.pbtxt
old_train_path=PATH_TO_BE_CONFIGURED/mscoco_train.record-?????-of-00100
old_val_path=PATH_TO_BE_CONFIGURED/mscoco_val.record-?????-of-00010
old_checkpoint_path=PATH_TO_BE_CONFIGURED/model.ckpt
num_examples_marker=num_examples:
num_steps_marker=num_steps:
num_classes_marker=num_classes:
# Calculated
num_classes="$(awk -F ',' '{print NF}' <<< ${classes})"
image_dir=${data_dir}/AllImages
untagged_output=${data_dir}/untagged.csv
tagged_output=${data_dir}/tagged.csv
tagged_predictions=${data_dir}/tagged_preds.csv
test_output=${data_dir}/test.csv
validation_output=${data_dir}/val.csv
tf_location=${tf_models_location}/object_detection
tf_location_legacy=${tf_models_location}/object_detection/legacy
PYTHONPATH=$PYTHONPATH:${tf_models_location}:${tf_models_location}/slim/
label_map_path=${data_dir}/pascal_label_map.pbtxt
tf_record_location=${data_dir}/stamps.record
tf_train_record=${tf_record_location%.*}_train.${tf_record_location##*.}
tf_val_record=${tf_record_location%.*}_val.${tf_record_location##*.}
tf_url=http://download.tensorflow.org/models/object_detection/${model_name}.tar.gz
pipeline_file=${download_location}/${model_name}/pipeline.config
fine_tune_checkpoint=${download_location}/${model_name}/model.ckpt
init_pred_tf_url=http://download.tensorflow.org/models/object_detection/${init_model_name}.tar.gz
init_model_graph=${download_location}/${init_model_name}/frozen_inference_graph.pb