Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions scripts/segaware/config/embs/solver_voc_train_aug.prototxt
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
train_net: "/mnt/data1/kidd/segaware/segaware/config/embs/train_voc_train_aug.prototxt"
type: "Adam"

# these are set by default
#momentum: 0.9
#momentum2: 0.999
#delta = 0.00000001






base_lr: 0.001

lr_policy: "fixed"
#gamma: 0.5
#stepsize: 200000

max_iter: 24000

display: 10

snapshot: 1000

snapshot_prefix: "/mnt/data1/kidd/segaware/segaware/model/embs/train_voc_train_aug"

solver_mode: GPU
10 changes: 5 additions & 5 deletions scripts/segaware/config/embs/test.prototxt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: "${NET_ID}"
layer {
name: "data"
type: "TwoImageData"
type: "ImageSegData"
top: "data"
top: "label"
image_data_param {
Expand All @@ -10,10 +10,10 @@ layer {
batch_size: ${BATCH_SIZE}
shuffle: false
}
two_image_data_param {
first_is_color: true
second_is_color: false
}
#two_image_data_param {
# first_is_color: true
# second_is_color: false
# }
transform_param {
mean_value: 104.008
mean_value: 116.669
Expand Down
32 changes: 16 additions & 16 deletions scripts/segaware/config/embs/test_voc_val.prototxt
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
name: "embs_31_L1_coco"
name: "embs"
layer {
name: "data"
type: "TwoImageData"
top: "data"
top: "label"
image_data_param {
root_folder: "/opt/home/aharley/datasets/VOC2012"
source: "segaware/list/voc_val.txt"
batch_size: 1
root_folder: "/mnt/data1/kidd/segaware/dataset/VOC2012/VOCtrainval"
source: "/mnt/data1/kidd/segaware/segaware/list/voc_val.txt"
batch_size: 15
shuffle: false
}
two_image_data_param {
Expand All @@ -18,7 +18,7 @@ layer {
mean_value: 104.008
mean_value: 116.669
mean_value: 122.675
crop_size: 513
crop_size: 161
mirror: false
}
}
Expand Down Expand Up @@ -158,8 +158,8 @@ layer {
name: "conv21_resized"
top: "conv21_resized"
interp_param {
height: 513
width: 513
height: 161
width: 161
}
}
layer {
Expand All @@ -168,8 +168,8 @@ layer {
name: "conv22_resized"
top: "conv22_resized"
interp_param {
height: 513
width: 513
height: 161
width: 161
}
}
layer {
Expand All @@ -178,8 +178,8 @@ layer {
name: "conv31_resized"
top: "conv31_resized"
interp_param {
height: 513
width: 513
height: 161
width: 161
}
}
# Concat, and weight
Expand Down Expand Up @@ -214,7 +214,7 @@ layer {
name: "parity"
type: "Im2parity"
convolution_param {
kernel_size: 5 pad: 6 dilation: 3
kernel_size: 3 pad: 1 dilation: 1
stride: 1
}
}
Expand All @@ -224,7 +224,7 @@ layer {
name: "weighted_avg_dist"
type: "Im2dist"
convolution_param {
kernel_size: 5 pad: 6 dilation: 3
kernel_size: 3 pad: 1 dilation: 1
stride: 1
}
im2dist_param {
Expand All @@ -238,7 +238,7 @@ layer {
bottom: "parity"
top: "loss_avg"
convolution_param {
kernel_size: 5 pad: 6 dilation: 3
kernel_size: 3 pad: 1 dilation: 1
stride: 1
}
dist_loss_param {
Expand All @@ -252,8 +252,8 @@ layer {
type: "MatWrite"
bottom: "weighted_avg"
mat_write_param {
prefix: "segaware/features/embs_31_L1_coco/voc_val/fc8/"
source: "segaware/list/voc_val_id.txt"
prefix: "/mnt/data1/kidd/segaware/segaware/features/embs/voc_val/fc8/"
source: "/mnt/data1/kidd/segaware/segaware/list/voc_val_id.txt"
strip: 0
period: 1
}
Expand Down
10 changes: 5 additions & 5 deletions scripts/segaware/config/embs/train.prototxt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: "${NET_ID}"
layer {
name: "data"
type: "TwoImageData"
type: "ImageSegData"
top: "data"
top: "label"
image_data_param {
Expand All @@ -10,10 +10,10 @@ layer {
batch_size: ${BATCH_SIZE}
shuffle: true
}
two_image_data_param {
first_is_color: true
second_is_color: false
}
#two_image_data_param {
# first_is_color: true
# second_is_color: false
# }
transform_param {
mean_value: 104.008
mean_value: 116.669
Expand Down
Loading