: I make two lmdb datasets with the same images but different labels. loss_weight of loss_1 and loss_2 are both set 1.0. Is there any errors in the prototxt?
layer {
name: "data"
type: "Data"
top: "data"
top: "label"
include {
phase: TRAIN
}
transform_param {
mirror: true
crop_size: 227
mean_file: "/home/percy/caffe/data/clothing_multilabel/imagenet_mean.binaryproto"
}
data_param {
source: "/home/percy/caffe/data/clothing_multilabel/clothing_train1_lmdb"
batch_size: 50
backend: LMDB
}
}
layer {
name: "data2"
type: "Data"
top: "data2"
top: "label2"
include {
phase: TRAIN
}
transform_param {
mirror: true
crop_size: 227
mean_file: "/home/percy/caffe/data/clothing_multilabel/imagenet_mean.binaryproto"
}
data_param {
source: "/home/percy/caffe/data/clothing_multilabel/clothing_train2_lmdb"
batch_size: 50
backend: LMDB
}
}
layer {
name: "data"
type: "Data"
top: "data"
top: "label"
include {
phase: TEST
}
transform_param {
mirror: true
crop_size: 227
mean_file: "/home/percy/caffe/data/clothing_multilabel/imagenet_mean.binaryproto"
}
data_param {
source: "/home/percy/caffe/data/clothing_multilabel/clothing_val1_lmdb"
batch_size: 50
backend: LMDB
}
}
layer {
name: "data2"
type: "Data"
top: "data2"
top: "label2"
include {
phase: TEST
}
transform_param {
mirror: true
crop_size: 227
mean_file: "/home/percy/caffe/data/clothing_multilabel/imagenet_mean.binaryproto"
}
data_param {
source: "/home/percy/caffe/data/clothing_multilabel/clothing_val2_lmdb"
batch_size: 50
backend: LMDB
}
}