solver = caffe.get_solver(path_to_solver_file)
layer { name: "data" type: "ImageData" top: "data" top: "label" include { phase: TRAIN } image_data_param { batch_size: 1 new_height: 227 new_width: 227 }}layer { name: "data" type: "ImageData" top: "data" top: "label" include { phase: TEST } image_data_param { batch_size: 1 new_height: 227 new_width: 227 }}
I0830 17:01:49.014819 1967923200 layer_factory.hpp:77] Creating layer data
I0830 17:01:49.014858 1967923200 net.cpp:91] Creating Layer data
I0830 17:01:49.014868 1967923200 net.cpp:399] data -> data
I0830 17:01:49.014890 1967923200 net.cpp:399] data -> label
I0830 17:01:49.014910 1967923200 image_data_layer.cpp:38] Opening file
I0830 17:01:49.014935 1967923200 image_data_layer.cpp:53] A total of 0 images.
Segmentation fault: 11
net.blobs["data"].data[...] = imagesnet.blobs["label"].data[...] = labelsnet.step(1)
I didn't got to this point yet, but after I'm able to instantiate the network, I was going to load the batch and perform one step of the SGD solver using:
net.blobs["data"].data[...] = images
net.blobs["label"].data[...] = labels
net.step(1)
--
You received this message because you are subscribed to the Google Groups "Caffe Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to caffe-users+unsubscribe@googlegroups.com.
To post to this group, send email to caffe...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/caffe-users/bce15fdb-6e5c-4803-9d98-b2532d2caed5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.