Ich weiß, wenn ich die Eingabeebene wie folgt habe, nimmt mein Netzwerk Blobs der Dimension (1,1,100,100)
.Caffe variable Losgröße
layer {
name: "data"
type: "Input"
top: "data"
input_param {
shape {
dim: 1
dim: 1
dim: 100
dim: 100
}
}
}
Was soll ich tun, um die erste Dimension (Input Batch Size) variabel zu machen? damit ich die Netzwerk-Chargen unterschiedlicher Größe einspeisen kann?
I in Funktion denken 'Net :: Forward ( const Vektor *> & Boden, D-Typ * Verlust)', ändern nur 'net_input_blobs_ [i] -> CopyFrom (* bottom [i]); 'zu' net_input_blobs_ [i] -> CopyFrom (* bottom [i], false, true); 'kann helfen, was die Eingabe entsprechend dem' bottom umformt 'Blob-Form. –
Dale
@DaleSong vielen Dank – dontloo