當我運行,在Caffe中使用哪些數據集進行測試?
caffe test
或caffe time
測試繼續進行,即使是新導入的網絡架構。哪些數據用於這些測試?
更新:
這裏是從Caffenet,那裏是源沒有參考該數據層的一個片段。它來源於: https://github.com/BVLC/caffe/blob/master/models/bvlc_reference_caffenet/deploy.prototxt
name: "CaffeNet"
layer {
name: "data"
type: "Input"
top: "data"
input_param { shape: { dim: 10 dim: 3 dim: 227 dim: 227 } }
}
更新2:
但還是下面的命令作品和運行測試,儘管我們使用deploy.prototxt
:
caffe test -model=models/bvlc_reference_caffenet/deploy.prototxt -weights=models/bvlc_reference_caffenet/bvlc_reference_caffenet.caffemodel
看看你的網絡:什麼是輸入層,它指向哪裏? – Shai
@cerebrou,我認爲你錯了。對於測試,您可以使用:https://github.com/BVLC/caffe/blob/master/models/bvlc_reference_caffenet/train_val.prototxt(注意數據層帶有「include {phase:TEST}」,這有源碼) 。 – Jonathan
deploy.txt也沒有丟失功能,這是測試所需的功能。它只是給出了預測的概率。 – Jonathan