Hi,
I created my own net layout and started training with according to the imagenet tutorial: editing the train_imagenet.sh to my solver.prototxt
caffe starts training without any problem.
Now I would like to try different parameters. Therefor I would like to start the training from matcaffe, which fails with error: io.cpp:77] Could not open or find file /home/path/to/my/file.png
In matlab my code looks like this:
% Load solver to caffe
solver = caffe.Solver(solver_file);
solver.step(iteration);
In my layout I use the image data layer pointing to a text file where all images are stored as: /home/path/to/my/file1.png 0
image_data_param {
source: " /home/path/to/my/files.txt"
batch_size: 100
is_color: false
}
I tried several configs for the text file, like:
~/path/to/my/file1.png 0
../path/to/my/file1.png 0
../../path/to/my/file1.png 0
../../../path/to/my/file1.png 0
and so on but nothing works.
Starting training from matlab with lmdb files works (used it in other project, but this time I need to load images from text file)
Again, starting training from console works with the absolute path but failing starting from matlab. Any idea?