luoyetx / mini-caffe

Minimal runtime core of Caffe, Forward only, GPU support and Memory efficiency.
BSD 3-Clause "New" or "Revised" License
374 stars 151 forks source link

How do miniCaffe used in MTCNN? #42

Open hao201707 opened 7 years ago

hao201707 commented 7 years ago

mtcnn need net_inputblobs and net_outputblobs but minicaffe not include, how change to mtcnn?

luoyetx commented 7 years ago

use net->blob_by_name() function to get data pointer from network internal blobs.

You can refer to the exampes.

yonadavs commented 7 years ago

use net->blob_by_name() function to get data pointer from network internal blobs.

I'm also interested in trying MTCNN with mini-caffe, but I still don't understand. How can I replace it? using blob_by_name("input")? also, input_blobs() return a vector of blobs, but blob_by_name returns a shared_ptr. How should I use it? Thanks!

QiYueFeiXue commented 7 years ago

I have solved this problem, look at this https://github.com/QiYueFeiXue/MTCNN/tree/run_minicaffe