how to randomly select points from a layer

6 views
Skip to first unread message

livejiang

unread,
Apr 15, 2016, 4:31:33 AM4/15/16
to Caffe Users
hi all,
    I want to feed an image to a pre-trained model(eg.vgg16), then up-sample some convolution layers in the network to the same size with the original image. 
    Next, I want to randomly sampled some points in the up-sampled layer and use each point as a single training point in a new regression network.(as described in this paper: http://www.cs.cmu.edu/~aayushb/marrRevisited/)
    My question is that is there any method in caffe that I can do the random sampling as a layer? so I can concat the pre-trained layer and my newly add regression layer as a whole. 
    
    
Reply all
Reply to author
Forward
0 new messages