【发布时间】:2016-04-12 18:43:38
【问题描述】:
我想在 Caffe 中使用 matlab 更新卷积滤波器。 我该怎么做? 到目前为止,我的代码是:
caffe.reset_all(); % reset caffe
caffe.set_mode_gpu();
gpu_id = 0; % we will use the first gpu in this demo
caffe.set_device(gpu_id);
net_model = [model_dir, 'train_images.prototxt'];
net = caffe.Net(net_model, 'train');
net.blobs('conv1').set_data([1,1,0]);
【问题讨论】:
-
你的代码有什么问题?
-
你必须至少发布
conv1层的prototxt -
你应该已经把this question的答案贴在这里了。
标签: deep-learning caffe matcaffe