Wie erstelle ich caffe.deploy aus train.prototxt

Das ist mein train.prototxt. Und das ist mein deploy.prototxt.

Wenn ich meine Bereitstellungsdatei laden möchte, wird folgende Fehlermeldung angezeigt:

File "./python/caffe/classifier.py", line 29, in __init__  
in_ = self.inputs[0]  
IndexError: list index out of range  

Also, ich habe die Datenschicht entfernt:

F1117 23:16:09.485153 21910 insert_splits.cpp:35] Unknown bottom blob 'data' (layer 'conv1', bottom index 0)
*** Check failure stack trace: ***

Than, ich entferntebottom: "data" aus Ebene conv1.

Nachher habe ich diesen Fehler bekommen:

F1117 23:17:15.363919 21935 insert_splits.cpp:35] Unknown bottom blob 'label' (layer 'loss', bottom index 1)
*** Check failure stack trace: ***

Ich entferntebottom: "label" von Verlustschicht. Und ich habe diesen Fehler bekommen:

I1117 23:19:11.171021 21962 layer_factory.hpp:76] Creating layer conv1
I1117 23:19:11.171036 21962 net.cpp:110] Creating Layer conv1
I1117 23:19:11.171041 21962 net.cpp:433] conv1 -> conv1
F1117 23:19:11.171061 21962 layer.hpp:379] Check failed: MinBottomBlobs() <= bottom.size() (1 vs. 0) Convolution Layer takes at least 1 bottom blob(s) as input.
*** Check failure stack trace: ***

Was muss ich tun, um das Problem zu beheben und meine Bereitstellungsdatei zu erstellen?

Antworten auf die Frage(4)

Ihre Antwort auf die Frage